summaryrefslogtreecommitdiff
path: root/test/TEST-01-BASIC
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2012-02-22 10:14:17 +0100
committerHarald Hoyer <harald@redhat.com>2012-02-22 15:15:21 +0100
commit552ecca6dbf1fcbf765cedf681fdaac32eca9131 (patch)
tree608f90c3b0ded90eac427aaadacc32ec16e6ef0a /test/TEST-01-BASIC
parent9373aec6502b601347229be6d0e12f688ae1cfb3 (diff)
downloaddracut-552ecca6dbf1fcbf765cedf681fdaac32eca9131.tar.gz
dracut-552ecca6dbf1fcbf765cedf681fdaac32eca9131.tar.bz2
dracut-552ecca6dbf1fcbf765cedf681fdaac32eca9131.zip
Renamed all shell scripts to *.sh
Diffstat (limited to 'test/TEST-01-BASIC')
-rwxr-xr-xtest/TEST-01-BASIC/cryptroot-ask.sh (renamed from test/TEST-01-BASIC/cryptroot-ask)0
-rwxr-xr-xtest/TEST-01-BASIC/test-init.sh (renamed from test/TEST-01-BASIC/test-init)0
-rwxr-xr-xtest/TEST-01-BASIC/test.sh12
3 files changed, 6 insertions, 6 deletions
diff --git a/test/TEST-01-BASIC/cryptroot-ask b/test/TEST-01-BASIC/cryptroot-ask.sh
index db27c5b8..db27c5b8 100755
--- a/test/TEST-01-BASIC/cryptroot-ask
+++ b/test/TEST-01-BASIC/cryptroot-ask.sh
diff --git a/test/TEST-01-BASIC/test-init b/test/TEST-01-BASIC/test-init.sh
index fd03aa5c..fd03aa5c 100755
--- a/test/TEST-01-BASIC/test-init
+++ b/test/TEST-01-BASIC/test-init.sh
diff --git a/test/TEST-01-BASIC/test.sh b/test/TEST-01-BASIC/test.sh
index 72dbec8f..ca7a1fe1 100755
--- a/test/TEST-01-BASIC/test.sh
+++ b/test/TEST-01-BASIC/test.sh
@@ -26,7 +26,7 @@ test_setup() {
(
initdir=$TESTDIR/overlay/source
mkdir -p $initdir
- . $basedir/dracut-functions
+ . $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 \
umount strace less
@@ -37,7 +37,7 @@ test_setup() {
inst "$basedir/modules.d/40network/dhclient-script" "/sbin/dhclient-script"
inst "$basedir/modules.d/40network/ifup" "/sbin/ifup"
dracut_install grep
- inst ./test-init /sbin/init
+ inst ./test-init.sh /sbin/init
find_binary plymouth >/dev/null && dracut_install plymouth
(cd "$initdir"; mkdir -p dev sys proc etc var/run tmp )
cp -a /etc/ld.so.conf* $initdir/etc
@@ -47,7 +47,7 @@ test_setup() {
# second, install the files needed to make the root filesystem
(
initdir=$TESTDIR/overlay
- . $basedir/dracut-functions
+ . $basedir/dracut-functions.sh
dracut_install sfdisk mkfs.ext3 poweroff cp umount
inst_hook initqueue 01 ./create-root.sh
inst_simple ./99-idesymlinks.rules /etc/udev/rules.d/99-idesymlinks.rules
@@ -56,7 +56,7 @@ test_setup() {
# create an initramfs that will create the target root filesystem.
# We do it this way so that we do not risk trashing the host mdraid
# devices, volume groups, encrypted partitions, etc.
- $basedir/dracut -l -i $TESTDIR/overlay / \
+ $basedir/dracut.sh -l -i $TESTDIR/overlay / \
-m "dash udev-rules base rootfs-block kernel-modules" \
-d "piix ide-gd_mod ata_piix ext3 sd_mod" \
--nomdadmconf \
@@ -75,12 +75,12 @@ test_setup() {
(
initdir=$TESTDIR/overlay
- . $basedir/dracut-functions
+ . $basedir/dracut-functions.sh
dracut_install poweroff shutdown
inst_hook emergency 000 ./hard-off.sh
inst_simple ./99-idesymlinks.rules /etc/udev/rules.d/99-idesymlinks.rules
)
- sudo $basedir/dracut -l -i $TESTDIR/overlay / \
+ sudo $basedir/dracut.sh -l -i $TESTDIR/overlay / \
-a "debug" \
-d "piix ide-gd_mod ata_piix ext3 sd_mod" \
-f $TESTDIR/initramfs.testing $KVERSION || return 1