summaryrefslogtreecommitdiffstats
path: root/test/TEST-01-BASIC/test.sh
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/TEST-01-BASIC/test.sh
parenttest/TEST-01-BASIC: add /etc/localtime to test image (diff)
downloadsystemd-3d3035e80c7deab9b0bf7050228385664a022fe3.tar.xz
systemd-3d3035e80c7deab9b0bf7050228385664a022fe3.zip
test/TEST-01-BASIC: add a defined rc.local
Diffstat (limited to 'test/TEST-01-BASIC/test.sh')
-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 5987edf3de..ace159f59a 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