summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2012-05-24 15:27:13 +0200
committerHarald Hoyer <harald@redhat.com>2012-05-24 15:32:51 +0200
commit3d3035e80c7deab9b0bf7050228385664a022fe3 (patch)
treeb0c8c5fd9d42f4e80d3322b8fb73d24a8b97a99a /test
parent7c1856aacd4f5d41dc320860490afda18c4a7495 (diff)
test/TEST-01-BASIC: add a defined rc.local
Diffstat (limited to 'test')
-rwxr-xr-xtest/TEST-01-BASIC/test.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/TEST-01-BASIC/test.sh b/test/TEST-01-BASIC/test.sh
index 5987edf3d..ace159f59 100755
--- a/test/TEST-01-BASIC/test.sh
+++ b/test/TEST-01-BASIC/test.sh
@@ -110,7 +110,12 @@ EOF
# make the testsuite the default target
ln -fs testsuite.target $initdir/etc/systemd/system/default.target
-
+ mkdir -p $initdir/etc/rc.d
+ cat >$initdir/etc/rc.d/rc.local <<EOF
+#!/bin/bash
+exit 0
+EOF
+ chmod 0755 $initdir/etc/rc.d/rc.local
# install basic tools needed
dracut_install sh bash setsid loadkeys setfont \
login sushell sulogin gzip sleep echo