summaryrefslogtreecommitdiffstats
path: root/t/02create_pkgs.t
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-12-14 14:54:04 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-12-14 14:54:04 +0000
commit08feb6419b253223ca99f9ee42b27dec034a6945 (patch)
tree6e6d50939108fa34954fa885a0b17a1dfd3da08f /t/02create_pkgs.t
parent6f0022ac58f56e61ec1aa4b255dcf24a1a6d2a00 (diff)
downloadurpmi-08feb6419b253223ca99f9ee42b27dec034a6945.tar
urpmi-08feb6419b253223ca99f9ee42b27dec034a6945.tar.gz
urpmi-08feb6419b253223ca99f9ee42b27dec034a6945.tar.bz2
urpmi-08feb6419b253223ca99f9ee42b27dec034a6945.tar.xz
urpmi-08feb6419b253223ca99f9ee42b27dec034a6945.zip
- check "old suggests" are still handled.
ie RPMTAG_REQUIRENAME + RPMSENSE_MISSINGOK, instead of RPMTAG_SUGGESTSNAME (as done in SuSE and in Mandriva > 2008.0)
Diffstat (limited to 't/02create_pkgs.t')
-rw-r--r--t/02create_pkgs.t3
1 files changed, 3 insertions, 0 deletions
diff --git a/t/02create_pkgs.t b/t/02create_pkgs.t
index 7d63037b..9d8058e4 100644
--- a/t/02create_pkgs.t
+++ b/t/02create_pkgs.t
@@ -11,6 +11,9 @@ foreach (qw(media tmp tmp/BUILD tmp/RPMS tmp/RPMS/noarch tmp/SRPMS)) {
mkdir $_;
}
+mkdir "media/suggests";
+system_("cp data/old-suggests-1-1.noarch.rpm media/suggests");
+
# locally build test rpms
foreach my $dir (grep { -d $_ } glob("data/SPECS/*")) {