diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-08-13 14:21:44 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-08-13 14:21:44 +0000 |
commit | c992e5fb8eeff8a345d16aa73866a320219fbf8b (patch) | |
tree | 6a0b7dd027b0dc886eec3d60b7ff177686c38fc2 /t/data/SPECS | |
parent | 03015def2d8eb9e344d2266f5b8f809c796ad66b (diff) | |
download | urpmi-c992e5fb8eeff8a345d16aa73866a320219fbf8b.tar urpmi-c992e5fb8eeff8a345d16aa73866a320219fbf8b.tar.gz urpmi-c992e5fb8eeff8a345d16aa73866a320219fbf8b.tar.bz2 urpmi-c992e5fb8eeff8a345d16aa73866a320219fbf8b.tar.xz urpmi-c992e5fb8eeff8a345d16aa73866a320219fbf8b.zip |
add one "directory owned by 2 rpms" test
Diffstat (limited to 't/data/SPECS')
-rw-r--r-- | t/data/SPECS/file-conflicts/a.spec | 3 | ||||
-rw-r--r-- | t/data/SPECS/file-conflicts/d.spec | 22 |
2 files changed, 24 insertions, 1 deletions
diff --git a/t/data/SPECS/file-conflicts/a.spec b/t/data/SPECS/file-conflicts/a.spec index abd35421..5378ee9a 100644 --- a/t/data/SPECS/file-conflicts/a.spec +++ b/t/data/SPECS/file-conflicts/a.spec @@ -12,9 +12,10 @@ x %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT/etc +install -d $RPM_BUILD_ROOT/etc/dir echo a > $RPM_BUILD_ROOT/etc/foo echo bar > $RPM_BUILD_ROOT/etc/bar +echo a > $RPM_BUILD_ROOT/etc/dir/a %clean rm -rf $RPM_BUILD_ROOT diff --git a/t/data/SPECS/file-conflicts/d.spec b/t/data/SPECS/file-conflicts/d.spec new file mode 100644 index 00000000..863abf06 --- /dev/null +++ b/t/data/SPECS/file-conflicts/d.spec @@ -0,0 +1,22 @@ +Summary: x +Name: d +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 +echo d > $RPM_BUILD_ROOT/etc/dir/d + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +/etc/* |