diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-12-18 14:06:59 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-12-18 14:06:59 +0000 |
commit | a03bae98662e36648ee8005656b09c03aa0c4d33 (patch) | |
tree | 1d6fed1d043fdf5412707596afe4d1f0b017b736 /t/data | |
parent | 3fd42683ec8785f5b37210d09587a100ba8f0b92 (diff) | |
download | urpmi-a03bae98662e36648ee8005656b09c03aa0c4d33.tar urpmi-a03bae98662e36648ee8005656b09c03aa0c4d33.tar.gz urpmi-a03bae98662e36648ee8005656b09c03aa0c4d33.tar.bz2 urpmi-a03bae98662e36648ee8005656b09c03aa0c4d33.tar.xz urpmi-a03bae98662e36648ee8005656b09c03aa0c4d33.zip |
add tests for %ghost conflicts (which should be allowed)
Diffstat (limited to 't/data')
-rw-r--r-- | t/data/SPECS/file-conflicts/fa.spec | 22 | ||||
-rw-r--r-- | t/data/SPECS/file-conflicts/fb.spec | 22 |
2 files changed, 44 insertions, 0 deletions
diff --git a/t/data/SPECS/file-conflicts/fa.spec b/t/data/SPECS/file-conflicts/fa.spec new file mode 100644 index 00000000..98dc2c79 --- /dev/null +++ b/t/data/SPECS/file-conflicts/fa.spec @@ -0,0 +1,22 @@ +Summary: x +Name: fa +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 fa $RPM_BUILD_ROOT/etc/foo + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%ghost /etc/foo diff --git a/t/data/SPECS/file-conflicts/fb.spec b/t/data/SPECS/file-conflicts/fb.spec new file mode 100644 index 00000000..6fc6e4ef --- /dev/null +++ b/t/data/SPECS/file-conflicts/fb.spec @@ -0,0 +1,22 @@ +Summary: x +Name: fb +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 fb $RPM_BUILD_ROOT/etc/foo + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%ghost /etc/foo |