summaryrefslogtreecommitdiffstats
path: root/t/superuser--srpm-bootstrapping.t
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-05-29 07:30:32 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-05-29 07:30:32 +0000
commitce597d6a01fda649be99c7fae25a0604bdefa23c (patch)
treeb65380f6ae301ab9660d3d4728c48fec4eaef7be /t/superuser--srpm-bootstrapping.t
parentef337715b4b8124322d5bb458dc9686da7d8fb8b (diff)
downloadurpmi-ce597d6a01fda649be99c7fae25a0604bdefa23c.tar
urpmi-ce597d6a01fda649be99c7fae25a0604bdefa23c.tar.gz
urpmi-ce597d6a01fda649be99c7fae25a0604bdefa23c.tar.bz2
urpmi-ce597d6a01fda649be99c7fae25a0604bdefa23c.tar.xz
urpmi-ce597d6a01fda649be99c7fae25a0604bdefa23c.zip
re-sync after the big svn loss
Diffstat (limited to 't/superuser--srpm-bootstrapping.t')
-rw-r--r--t/superuser--srpm-bootstrapping.t14
1 files changed, 14 insertions, 0 deletions
diff --git a/t/superuser--srpm-bootstrapping.t b/t/superuser--srpm-bootstrapping.t
new file mode 100644
index 00000000..e0182ec0
--- /dev/null
+++ b/t/superuser--srpm-bootstrapping.t
@@ -0,0 +1,14 @@
+#!/usr/bin/perl
+
+use strict;
+use lib '.', 't';
+use helper;
+use Test::More 'no_plan';
+
+need_root_and_prepare();
+
+my $name = 'srpm-bootstrapping';
+
+urpmi_addmedia("$name $::pwd/media/$name");
+urpmi("--auto media/SRPMS-$name/$name-*.src.rpm");
+is(`rpm -qa --root $::pwd/root`, "$name-1-1\n");