From 280ae81a2e6427dd3433d3968d2336bd010b71d5 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 29 Aug 2007 10:40:16 +0000 Subject: - 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 --- t/data/SPECS/file-conflicts/ga.spec | 22 ++++++++++++++++++++++ t/data/SPECS/file-conflicts/gc.spec | 22 ++++++++++++++++++++++ t/data/SPECS/file-conflicts/gc_.spec | 22 ++++++++++++++++++++++ t/data/SPECS/file-conflicts/gd.spec | 22 ++++++++++++++++++++++ 4 files changed, 88 insertions(+) create mode 100644 t/data/SPECS/file-conflicts/ga.spec create mode 100644 t/data/SPECS/file-conflicts/gc.spec create mode 100644 t/data/SPECS/file-conflicts/gc_.spec create mode 100644 t/data/SPECS/file-conflicts/gd.spec (limited to 't/data/SPECS/file-conflicts') 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 -- cgit v1.2.1