summaryrefslogtreecommitdiff
path: root/test/TEST-12-RAID-DEG/test.sh
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-12-RAID-DEG/test.sh
parent9373aec6502b601347229be6d0e12f688ae1cfb3 (diff)
downloaddracut-552ecca6dbf1fcbf765cedf681fdaac32eca9131.tar.gz
dracut-552ecca6dbf1fcbf765cedf681fdaac32eca9131.tar.bz2
dracut-552ecca6dbf1fcbf765cedf681fdaac32eca9131.zip
Renamed all shell scripts to *.sh
Diffstat (limited to 'test/TEST-12-RAID-DEG/test.sh')
-rwxr-xr-xtest/TEST-12-RAID-DEG/test.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/TEST-12-RAID-DEG/test.sh b/test/TEST-12-RAID-DEG/test.sh
index 0cf45a4f..500dc507 100755
--- a/test/TEST-12-RAID-DEG/test.sh
+++ b/test/TEST-12-RAID-DEG/test.sh
@@ -59,7 +59,7 @@ test_setup() {
# Create what will eventually be our root filesystem onto an overlay
(
initdir=$TESTDIR/overlay/source
- . $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
for _terminfodir in /lib/terminfo /etc/terminfo /usr/share/terminfo; do
@@ -69,7 +69,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
@@ -79,7 +79,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 mke2fs poweroff cp umount dd grep
inst_hook initqueue 01 ./create-root.sh
inst_simple ./99-idesymlinks.rules /etc/udev/rules.d/99-idesymlinks.rules
@@ -88,7 +88,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 crypt lvm mdraid udev-rules base rootfs-block kernel-modules" \
-d "piix ide-gd_mod ata_piix ext2 sd_mod" \
-f $TESTDIR/initramfs.makeroot $KVERSION || return 1
@@ -107,15 +107,15 @@ test_setup() {
eval $(grep --binary-files=text -m 1 MD_UUID $TESTDIR/root.ext2)
(
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
- inst ./cryptroot-ask /sbin/cryptroot-ask
+ inst ./cryptroot-ask.sh /sbin/cryptroot-ask
mkdir -p $initdir/etc
echo "ARRAY /dev/md0 level=raid5 num-devices=3 UUID=$MD_UUID" > $initdir/etc/mdadm.conf
)
- sudo $basedir/dracut -l -i $TESTDIR/overlay / \
+ sudo $basedir/dracut.sh -l -i $TESTDIR/overlay / \
-o "plymouth network" \
-a "debug" \
-d "piix ide-gd_mod ata_piix ext2 sd_mod" \