summaryrefslogtreecommitdiffstats
path: root/t/data/SPECS
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-08-29 10:40:16 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-08-29 10:40:16 +0000
commit280ae81a2e6427dd3433d3968d2336bd010b71d5 (patch)
treebcc59bf0de469d27cdf2be75e128cc5666f3d0a9 /t/data/SPECS
parent0b2440569263b477b3c2263f93c06a66001852b1 (diff)
downloadurpmi-280ae81a2e6427dd3433d3968d2336bd010b71d5.tar
urpmi-280ae81a2e6427dd3433d3968d2336bd010b71d5.tar.gz
urpmi-280ae81a2e6427dd3433d3968d2336bd010b71d5.tar.bz2
urpmi-280ae81a2e6427dd3433d3968d2336bd010b71d5.tar.xz
urpmi-280ae81a2e6427dd3433d3968d2336bd010b71d5.zip
- add a test case for same files but different paths through symlink
- perl-URPM do not drop tags anymore, so re-enable the test which fails without tag RPMTAG_FILEDIGESTS
Diffstat (limited to 't/data/SPECS')
-rw-r--r--t/data/SPECS/file-conflicts/ga.spec22
-rw-r--r--t/data/SPECS/file-conflicts/gc.spec22
-rw-r--r--t/data/SPECS/file-conflicts/gc_.spec22
-rw-r--r--t/data/SPECS/file-conflicts/gd.spec22
4 files changed, 88 insertions, 0 deletions
diff --git a/t/data/SPECS/file-conflicts/ga.spec b/t/data/SPECS/file-conflicts/ga.spec
new file mode 100644
index 00000000..8418bb07
--- /dev/null
+++ b/t/data/SPECS/file-conflicts/ga.spec
@@ -0,0 +1,22 @@
+Summary: x
+Name: ga
+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
+ln -s dir $RPM_BUILD_ROOT/etc/dir_symlink
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+/etc/*
diff --git a/t/data/SPECS/file-conflicts/gc.spec b/t/data/SPECS/file-conflicts/gc.spec
new file mode 100644
index 00000000..75bd6f20
--- /dev/null
+++ b/t/data/SPECS/file-conflicts/gc.spec
@@ -0,0 +1,22 @@
+Summary: x
+Name: gc
+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/dir_symlink
+echo a > $RPM_BUILD_ROOT/etc/dir_symlink/a
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+/etc/dir_symlink/a
diff --git a/t/data/SPECS/file-conflicts/gc_.spec b/t/data/SPECS/file-conflicts/gc_.spec
new file mode 100644
index 00000000..69dcac82
--- /dev/null
+++ b/t/data/SPECS/file-conflicts/gc_.spec
@@ -0,0 +1,22 @@
+Summary: x
+Name: gc_
+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/dir_symlink
+echo a > $RPM_BUILD_ROOT/etc/dir_symlink/a
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+/etc/dir_symlink/a
diff --git a/t/data/SPECS/file-conflicts/gd.spec b/t/data/SPECS/file-conflicts/gd.spec
new file mode 100644
index 00000000..d11fb1db
--- /dev/null
+++ b/t/data/SPECS/file-conflicts/gd.spec
@@ -0,0 +1,22 @@
+Summary: x
+Name: gd
+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/dir_symlink
+echo d > $RPM_BUILD_ROOT/etc/dir_symlink/a
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+/etc/dir_symlink/a