summaryrefslogtreecommitdiffstats
path: root/t/data/SPECS
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-08-13 11:26:05 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-08-13 11:26:05 +0000
commit3036fe3904d6e8e7bcfe384457bbb7399f57bf7f (patch)
treed5d82e40889f643e2a982df8daa0dd740c924fd5 /t/data/SPECS
parenta665e757a125d84d2164e4a14cd9a644b7f84202 (diff)
downloadurpmi-3036fe3904d6e8e7bcfe384457bbb7399f57bf7f.tar
urpmi-3036fe3904d6e8e7bcfe384457bbb7399f57bf7f.tar.gz
urpmi-3036fe3904d6e8e7bcfe384457bbb7399f57bf7f.tar.bz2
urpmi-3036fe3904d6e8e7bcfe384457bbb7399f57bf7f.tar.xz
urpmi-3036fe3904d6e8e7bcfe384457bbb7399f57bf7f.zip
new test for file conflicts
Diffstat (limited to 't/data/SPECS')
-rw-r--r--t/data/SPECS/file-conflicts/a.spec23
-rw-r--r--t/data/SPECS/file-conflicts/b.spec22
-rw-r--r--t/data/SPECS/file-conflicts/c.spec22
3 files changed, 67 insertions, 0 deletions
diff --git a/t/data/SPECS/file-conflicts/a.spec b/t/data/SPECS/file-conflicts/a.spec
new file mode 100644
index 00000000..abd35421
--- /dev/null
+++ b/t/data/SPECS/file-conflicts/a.spec
@@ -0,0 +1,23 @@
+Summary: x
+Name: a
+Version: 1
+Release: 1
+License: x
+Group: x
+Url: x
+BuildArch: noarch
+
+%description
+x
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/etc
+echo a > $RPM_BUILD_ROOT/etc/foo
+echo bar > $RPM_BUILD_ROOT/etc/bar
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+/etc/*
diff --git a/t/data/SPECS/file-conflicts/b.spec b/t/data/SPECS/file-conflicts/b.spec
new file mode 100644
index 00000000..14e3ad5f
--- /dev/null
+++ b/t/data/SPECS/file-conflicts/b.spec
@@ -0,0 +1,22 @@
+Summary: x
+Name: b
+Version: 1
+Release: 1
+License: x
+Group: x
+Url: x
+BuildArch: noarch
+
+%description
+x
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/etc
+echo b > $RPM_BUILD_ROOT/etc/foo
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+/etc/*
diff --git a/t/data/SPECS/file-conflicts/c.spec b/t/data/SPECS/file-conflicts/c.spec
new file mode 100644
index 00000000..17289949
--- /dev/null
+++ b/t/data/SPECS/file-conflicts/c.spec
@@ -0,0 +1,22 @@
+Summary: x
+Name: c
+Version: 1
+Release: 1
+License: x
+Group: x
+Url: x
+BuildArch: noarch
+
+%description
+x
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/etc
+echo bar > $RPM_BUILD_ROOT/etc/bar
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+/etc/*