summaryrefslogtreecommitdiffstats
path: root/t/superuser--srpm-bootstrapping.t
diff options
context:
space:
mode:
Diffstat (limited to 't/superuser--srpm-bootstrapping.t')
-rw-r--r--t/superuser--srpm-bootstrapping.t6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/superuser--srpm-bootstrapping.t b/t/superuser--srpm-bootstrapping.t
index a6c21a26..ff614718 100644
--- a/t/superuser--srpm-bootstrapping.t
+++ b/t/superuser--srpm-bootstrapping.t
@@ -28,11 +28,11 @@ sub test {
sub install_src_rpm {
my ($para) = @_;
- system_('mkdir -p root/usr/src/rpm/SOURCES');
+ system_('mkdir -p root/root/rpmbuild/SOURCES');
- $ENV{HOME} = '/';
+ $ENV{HOME} = '/root';
urpmi("--install-src $para");
- system_("cmp root/usr/src/rpm/SPECS/$name.spec data/SPECS/$name.spec");
+ system_("cmp root/root/rpmbuild/SPECS/$name.spec data/SPECS/$name.spec");
system_('rm -rf root/usr/src/rpm');
}