summaryrefslogtreecommitdiff
path: root/test/TEST-16-DMSQUASH
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2012-07-09 15:30:15 +0200
committerHarald Hoyer <harald@redhat.com>2012-07-09 15:30:15 +0200
commit27fa604418517c8e8a8e771ce6a804d4886e9f2f (patch)
tree38f51417517dfc82a4c41c00918d7c9eedfea6a7 /test/TEST-16-DMSQUASH
parent3c1feedfd1e175119c26f0dd29e4c03eac1f1f7c (diff)
downloaddracut-27fa604418517c8e8a8e771ce6a804d4886e9f2f.tar.gz
dracut-27fa604418517c8e8a8e771ce6a804d4886e9f2f.tar.bz2
dracut-27fa604418517c8e8a8e771ce6a804d4886e9f2f.zip
test: export initdir
Diffstat (limited to 'test/TEST-16-DMSQUASH')
-rwxr-xr-xtest/TEST-16-DMSQUASH/test.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/TEST-16-DMSQUASH/test.sh b/test/TEST-16-DMSQUASH/test.sh
index 5cd9986e..4dc133ce 100755
--- a/test/TEST-16-DMSQUASH/test.sh
+++ b/test/TEST-16-DMSQUASH/test.sh
@@ -29,7 +29,7 @@ test_run() {
test_setup() {
mkdir -p $TESTDIR/overlay
(
- initdir=$TESTDIR/overlay
+ export initdir=$TESTDIR/overlay
. $basedir/dracut-functions.sh
dracut_install poweroff shutdown
inst_hook emergency 000 ./hard-off.sh
@@ -47,7 +47,7 @@ test_setup() {
kernel=$KVERSION
# Create what will eventually be our root filesystem onto an overlay
(
- initdir=$TESTDIR/root-source
+ export initdir=$TESTDIR/root-source
. $basedir/dracut-functions.sh
dracut_install sh df free ls shutdown poweroff stty cat ps ln ip route \
mount dmesg ifconfig dhclient mkdir cp ping dhclient \