summaryrefslogtreecommitdiffstats
path: root/t/data
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-01-23 16:45:54 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-01-23 16:45:54 +0000
commit9787a9b8236fd9aab9c6538cd9e5125a3ec3839c (patch)
tree93c601274753eec3151919f05781ac1ae8ef562c /t/data
parentf3f08065dd081691d0abd06da356c7eb4be44c5f (diff)
downloadurpmi-9787a9b8236fd9aab9c6538cd9e5125a3ec3839c.tar
urpmi-9787a9b8236fd9aab9c6538cd9e5125a3ec3839c.tar.gz
urpmi-9787a9b8236fd9aab9c6538cd9e5125a3ec3839c.tar.bz2
urpmi-9787a9b8236fd9aab9c6538cd9e5125a3ec3839c.tar.xz
urpmi-9787a9b8236fd9aab9c6538cd9e5125a3ec3839c.zip
add a test case: conflicting manpages
Diffstat (limited to 't/data')
-rw-r--r--t/data/SPECS/file-conflicts/h.spec23
-rw-r--r--t/data/SPECS/file-conflicts/i.spec23
2 files changed, 46 insertions, 0 deletions
diff --git a/t/data/SPECS/file-conflicts/h.spec b/t/data/SPECS/file-conflicts/h.spec
new file mode 100644
index 00000000..90de1e35
--- /dev/null
+++ b/t/data/SPECS/file-conflicts/h.spec
@@ -0,0 +1,23 @@
+Summary: x
+Name: h
+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/usr/share/man
+echo h > $RPM_BUILD_ROOT/usr/share/man/foo
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+/usr/share/man/foo*
+
diff --git a/t/data/SPECS/file-conflicts/i.spec b/t/data/SPECS/file-conflicts/i.spec
new file mode 100644
index 00000000..47e2c3fc
--- /dev/null
+++ b/t/data/SPECS/file-conflicts/i.spec
@@ -0,0 +1,23 @@
+Summary: x
+Name: i
+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/usr/share/man
+echo i > $RPM_BUILD_ROOT/usr/share/man/foo
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+/usr/share/man/foo*
+