]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
increased qemu memory
authorHarald Hoyer <harald@redhat.com>
Fri, 21 Jul 2017 08:54:17 +0000 (10:54 +0200)
committerHarald Hoyer <harald@redhat.com>
Fri, 21 Jul 2017 09:43:08 +0000 (11:43 +0200)
16 files changed:
test/TEST-01-BASIC/test.sh
test/TEST-02-SYSTEMD/test.sh
test/TEST-03-USR-MOUNT/test.sh
test/TEST-04-FULL-SYSTEMD/test.sh
test/TEST-10-RAID/test.sh
test/TEST-11-LVM/test.sh
test/TEST-12-RAID-DEG/test.sh
test/TEST-13-ENC-RAID-LVM/test.sh
test/TEST-14-IMSM/test.sh
test/TEST-15-BTRFSRAID/test.sh
test/TEST-16-DMSQUASH/test.sh
test/TEST-17-LVM-THIN/test.sh
test/TEST-20-NFS/test.sh
test/TEST-30-ISCSI/test.sh
test/TEST-40-NBD/test.sh
test/TEST-70-BONDBRIDGETEAMVLAN/test.sh

index b24892f6518c0cf2f462024340e1c85348b49e4f..137249f4d7b17f8fdd2fb2f1afbe86f08a820df6 100755 (executable)
@@ -11,7 +11,7 @@ test_run() {
     $testdir/run-qemu \
        -drive format=raw,index=0,media=disk,file=$TESTDIR/root.ext3 \
        -drive format=raw,index=1,media=disk,file=$TESTDIR/result \
-       -m 256M  -smp 2 -nographic \
+       -m 512M  -smp 2 -nographic \
        -net none \
        -watchdog i6300esb -watchdog-action poweroff \
         -no-reboot \
@@ -80,7 +80,7 @@ test_setup() {
 
     $testdir/run-qemu \
        -drive format=raw,index=0,media=disk,file=$TESTDIR/root.ext3 \
-       -m 256M  -smp 2 -nographic -net none \
+       -m 512M  -smp 2 -nographic -net none \
        -append "root=/dev/dracut/root rw rootfstype=ext3 quiet console=ttyS0,115200n81 selinux=0" \
        -initrd $TESTDIR/initramfs.makeroot  || return 1
     grep -F -m 1 -q dracut-root-block-created $TESTDIR/root.ext3 || return 1
index db4edb33a38f4bcc9591cc3f2c4484d962a00255..953772c1842a393a9ccc488b57e53b8dbaded34b 100755 (executable)
@@ -8,7 +8,7 @@ KVERSION="${KVERSION-$(uname -r)}"
 test_run() {
     $testdir/run-qemu \
        -drive format=raw,index=0,media=disk,file=$TESTDIR/root.ext3 \
-       -m 256M  -smp 2 -nographic \
+       -m 512M  -smp 2 -nographic \
        -net none \
         -no-reboot \
        -append "panic=1 root=LABEL=dracut rw loglevel=77 systemd.log_level=debug systemd.log_target=console rd.retry=3 rd.info console=ttyS0,115200n81 selinux=0 rd.debug init=/sbin/init rd.shell=0 $DEBUGFAIL" \
@@ -77,7 +77,7 @@ test_setup() {
 
     $testdir/run-qemu \
        -drive format=raw,index=0,media=disk,file=$TESTDIR/root.ext3 \
-       -m 256M  -smp 2 -nographic -net none \
+       -m 512M  -smp 2 -nographic -net none \
        -append "root=/dev/fakeroot rw rootfstype=ext3 quiet console=ttyS0,115200n81 selinux=0" \
        -initrd $TESTDIR/initramfs.makeroot  || return 1
     grep -F -m 1 -q dracut-root-block-created $TESTDIR/root.ext3 || return 1
index 105d123fdd9b5877a03ff4eb95e1a69b692b5bb4..1e6bd422bf0d1eb4e543cad46b9265ddff4ced1d 100755 (executable)
@@ -18,7 +18,7 @@ client_run() {
        -drive format=raw,index=0,media=disk,file=$TESTDIR/root.btrfs \
        -drive format=raw,index=1,media=disk,file=$TESTDIR/usr.btrfs \
        -drive format=raw,index=2,media=disk,file=$TESTDIR/result \
-       -m 256M  -smp 2 -nographic \
+       -m 512M  -smp 2 -nographic \
        -net none \
        -watchdog i6300esb -watchdog-action poweroff \
         -no-reboot \
@@ -115,7 +115,7 @@ test_setup() {
     $testdir/run-qemu \
        -drive format=raw,index=0,media=disk,file=$TESTDIR/root.btrfs \
        -drive format=raw,index=1,media=disk,file=$TESTDIR/usr.btrfs \
-       -m 256M  -smp 2 -nographic -net none \
+       -m 512M  -smp 2 -nographic -net none \
        -append "root=/dev/dracut/root rw rootfstype=btrfs quiet console=ttyS0,115200n81 selinux=0" \
        -initrd $TESTDIR/initramfs.makeroot  || return 1
     grep -F -m 1 -q dracut-root-block-created $TESTDIR/root.btrfs || return 1
index 774c0e2d5264990eea97cd98092ea83c55fc9835..10a4711d387193bf84152d7e3472ff3040efa355 100755 (executable)
@@ -20,7 +20,7 @@ client_run() {
        -drive format=raw,index=0,media=disk,file=$TESTDIR/root.btrfs \
        -drive format=raw,index=1,media=disk,file=$TESTDIR/usr.btrfs \
        -drive format=raw,index=2,media=disk,file=$TESTDIR/result \
-       -m 256M  -smp 2 -nographic \
+       -m 512M  -smp 2 -nographic \
        -net none \
         -no-reboot \
        -append "panic=1 root=LABEL=dracut $client_opts rd.retry=3 console=ttyS0,115200n81 selinux=0 $DEBUGOUT rd.shell=0 $DEBUGFAIL" \
@@ -252,7 +252,7 @@ EOF
     $testdir/run-qemu \
        -drive format=raw,index=0,media=disk,file=$TESTDIR/root.btrfs \
        -drive format=raw,index=1,media=disk,file=$TESTDIR/usr.btrfs \
-       -m 256M  -smp 2 -nographic -net none \
+       -m 512M  -smp 2 -nographic -net none \
        -append "root=/dev/fakeroot rw rootfstype=btrfs quiet console=ttyS0,115200n81 selinux=0" \
        -initrd $TESTDIR/initramfs.makeroot  || return 1
     grep -F -m 1 -q dracut-root-block-created $TESTDIR/root.btrfs || return 1
index 7ef9f526cd92620ad59ee378614fa347674434ff..585d5074bdf3f1f8cc9bebbcbf4d237577abd29d 100755 (executable)
@@ -10,7 +10,7 @@ test_run() {
     DISKIMAGE=$TESTDIR/TEST-10-RAID-root.img
     $testdir/run-qemu \
        -drive format=raw,index=0,media=disk,file=$DISKIMAGE \
-       -m 256M  -smp 2 -nographic \
+       -m 512M  -smp 2 -nographic \
        -net none \
         -no-reboot \
        -append "panic=1 root=/dev/dracut/root rd.auto rw rd.retry=10 console=ttyS0,115200n81 selinux=0 rd.shell=0 $DEBUGFAIL" \
@@ -77,7 +77,7 @@ test_setup() {
     # Invoke KVM and/or QEMU to actually create the target filesystem.
     $testdir/run-qemu \
        -drive format=raw,index=0,media=disk,file=$DISKIMAGE \
-       -m 256M  -smp 2 -nographic -net none \
+       -m 512M  -smp 2 -nographic -net none \
        -append "root=/dev/cannotreach rw rootfstype=ext2 console=ttyS0,115200n81 selinux=0" \
        -initrd $TESTDIR/initramfs.makeroot  || return 1
     grep -F -m 1 -q dracut-root-block-created $DISKIMAGE || return 1
index eb65d3f4109d6ee5b3f747759c45378985623379..a39466e1dc794c2ec1b9e8e6eab85f1935539a1e 100755 (executable)
@@ -9,7 +9,7 @@ KVERSION=${KVERSION-$(uname -r)}
 test_run() {
     $testdir/run-qemu \
        -drive format=raw,index=0,media=disk,file=$TESTDIR/root.ext2 \
-       -m 256M  -smp 2 -nographic \
+       -m 512M  -smp 2 -nographic \
        -net none \
         -no-reboot \
        -append "panic=1 root=/dev/dracut/root rw rd.auto=1 quiet rd.retry=3 rd.info console=ttyS0,115200n81 selinux=0 rd.debug rd.shell=0 $DEBUGFAIL" \
@@ -72,7 +72,7 @@ test_setup() {
        -f $TESTDIR/initramfs.makeroot $KVERSION || return 1
     rm -rf -- $TESTDIR/overlay
     # Invoke KVM and/or QEMU to actually create the target filesystem.
-    $testdir/run-qemu -drive format=raw,index=0,media=disk,file=$TESTDIR/root.ext2 -m 256M  -smp 2 -nographic -net none \
+    $testdir/run-qemu -drive format=raw,index=0,media=disk,file=$TESTDIR/root.ext2 -m 512M  -smp 2 -nographic -net none \
        -append "root=/dev/fakeroot rw rootfstype=ext2 quiet console=ttyS0,115200n81 selinux=0" \
        -initrd $TESTDIR/initramfs.makeroot  || return 1
     grep -F -m 1 -q dracut-root-block-created $TESTDIR/root.ext2 || return 1
index dd919a391f9e423cb193108ec664628074c25833..038637c1432ace3bdf10dc47a63a0675ca69395d 100755 (executable)
@@ -15,16 +15,16 @@ client_run() {
     cp --sparse=always --reflink=auto $TESTDIR/disk3.img $TESTDIR/disk3.img.new
 
     $testdir/run-qemu \
-       -drive format=raw,index=0,media=disk,file=$TESTDIR/root.ext2 -m 256M -nographic   -smp 2 \
-       -drive format=raw,index=2,media=disk,file=$TESTDIR/disk2.img.new \
-       -drive format=raw,index=3,media=disk,file=$TESTDIR/disk3.img.new \
-       -net none \
+        -drive format=raw,index=0,media=disk,file=$TESTDIR/root.ext2 -m 512M -nographic   -smp 2 \
+        -drive format=raw,index=2,media=disk,file=$TESTDIR/disk2.img.new \
+        -drive format=raw,index=3,media=disk,file=$TESTDIR/disk3.img.new \
+        -net none \
         -no-reboot \
-       -append "panic=1 $* root=LABEL=root rw rd.retry=10 rd.info console=ttyS0,115200n81 selinux=0 rd.debug rd.shell=0 $DEBUGFAIL " \
-       -initrd $TESTDIR/initramfs.testing
+        -append "panic=1 $* root=LABEL=root rw rd.retry=10 rd.info console=ttyS0,115200n81 selinux=0 rd.debug rd.shell=0 $DEBUGFAIL " \
+        -initrd $TESTDIR/initramfs.testing
     if ! grep -F -m 1 -q dracut-root-block-success $TESTDIR/root.ext2; then
-       echo "CLIENT TEST END: $@ [FAIL]"
-       return 1;
+        echo "CLIENT TEST END: $@ [FAIL]"
+        return 1;
     fi
 
     sed -i -e 's#dracut-root-block-success#dracut-root-block-xxxxxxx#' $TESTDIR/root.ext2
@@ -66,9 +66,9 @@ test_setup() {
     kernel=$KVERSION
     # Create what will eventually be our root filesystem onto an overlay
     (
-       export initdir=$TESTDIR/overlay/source
-       . $basedir/dracut-init.sh
-       (
+        export initdir=$TESTDIR/overlay/source
+        . $basedir/dracut-init.sh
+        (
             cd "$initdir"
             mkdir -p -- dev sys proc etc var/run tmp
             mkdir -p root usr/bin usr/lib usr/lib64 usr/sbin
@@ -76,50 +76,50 @@ test_setup() {
                 ln -sfnr usr/$i $i
             done
         )
-       inst_multiple sh df free ls shutdown poweroff stty cat ps ln ip \
-           mount dmesg dhclient mkdir cp ping dhclient
+        inst_multiple sh df free ls shutdown poweroff stty cat ps ln ip \
+                      mount dmesg dhclient mkdir cp ping dhclient
         for _terminfodir in /lib/terminfo /etc/terminfo /usr/share/terminfo; do
-           [ -f ${_terminfodir}/l/linux ] && break
-       done
-       inst_multiple -o ${_terminfodir}/l/linux
-       inst "$basedir/modules.d/40network/dhclient-script.sh" "/sbin/dhclient-script"
-       inst "$basedir/modules.d/40network/ifup.sh" "/sbin/ifup"
-       inst_multiple grep
+            [ -f ${_terminfodir}/l/linux ] && break
+        done
+        inst_multiple -o ${_terminfodir}/l/linux
+        inst "$basedir/modules.d/40network/dhclient-script.sh" "/sbin/dhclient-script"
+        inst "$basedir/modules.d/40network/ifup.sh" "/sbin/ifup"
+        inst_multiple grep
         inst_simple /etc/os-release
-       inst ./test-init.sh /sbin/init
-       find_binary plymouth >/dev/null && inst_multiple plymouth
-       cp -a /etc/ld.so.conf* $initdir/etc
-       sudo ldconfig -r "$initdir"
+        inst ./test-init.sh /sbin/init
+        find_binary plymouth >/dev/null && inst_multiple plymouth
+        cp -a /etc/ld.so.conf* $initdir/etc
+        sudo ldconfig -r "$initdir"
     )
 
     # second, install the files needed to make the root filesystem
     (
-       export initdir=$TESTDIR/overlay
-       . $basedir/dracut-init.sh
-       inst_multiple sfdisk mke2fs poweroff cp umount dd grep
-       inst_hook initqueue 01 ./create-root.sh
+        export initdir=$TESTDIR/overlay
+        . $basedir/dracut-init.sh
+        inst_multiple sfdisk mke2fs poweroff cp umount dd grep
+        inst_hook initqueue 01 ./create-root.sh
         inst_hook initqueue/finished 01 ./finished-false.sh
-       inst_simple ./99-idesymlinks.rules /etc/udev/rules.d/99-idesymlinks.rules
-   )
+        inst_simple ./99-idesymlinks.rules /etc/udev/rules.d/99-idesymlinks.rules
+    )
 
     # 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.sh -l -i $TESTDIR/overlay / \
-       -m "dash crypt lvm mdraid udev-rules base rootfs-block fs-lib kernel-modules" \
-       -d "piix ide-gd_mod ata_piix ext2 sd_mod" \
-        --no-hostonly-cmdline -N \
-       -f $TESTDIR/initramfs.makeroot $KVERSION || return 1
+                       -m "dash crypt lvm mdraid udev-rules base rootfs-block fs-lib kernel-modules" \
+                       -d "piix ide-gd_mod ata_piix ext2 sd_mod" \
+                       --no-hostonly-cmdline -N \
+                       -f $TESTDIR/initramfs.makeroot $KVERSION || return 1
     rm -rf -- $TESTDIR/overlay
     # Invoke KVM and/or QEMU to actually create the target filesystem.
     $testdir/run-qemu \
-       -drive format=raw,index=0,media=disk,file=$TESTDIR/root.ext2 \
-       -drive format=raw,index=1,media=disk,file=$TESTDIR/disk1.img \
-       -drive format=raw,index=2,media=disk,file=$TESTDIR/disk2.img \
-       -drive format=raw,index=3,media=disk,file=$TESTDIR/disk3.img \
-       -m 256M  -smp 2 -nographic -net none \
-       -append "root=/dev/fakeroot rw rootfstype=ext2 quiet console=ttyS0,115200n81 selinux=0" \
-       -initrd $TESTDIR/initramfs.makeroot  || return 1
+        -drive format=raw,index=0,media=disk,file=$TESTDIR/root.ext2 \
+        -drive format=raw,index=1,media=disk,file=$TESTDIR/disk1.img \
+        -drive format=raw,index=2,media=disk,file=$TESTDIR/disk2.img \
+        -drive format=raw,index=3,media=disk,file=$TESTDIR/disk3.img \
+        -m 512M  -smp 2 -nographic -net none \
+        -append "root=/dev/fakeroot rw rootfstype=ext2 quiet console=ttyS0,115200n81 selinux=0" \
+        -initrd $TESTDIR/initramfs.makeroot  || return 1
 
     grep -F -m 1 -q dracut-root-block-created $TESTDIR/root.ext2 || return 1
     eval $(grep -F --binary-files=text -m 1 MD_UUID $TESTDIR/root.ext2)
@@ -127,13 +127,13 @@ test_setup() {
     echo $ID_FS_UUID > $TESTDIR/luksuuid
 
     (
-       export initdir=$TESTDIR/overlay
-       . $basedir/dracut-init.sh
-       inst_multiple poweroff shutdown
-       inst_hook shutdown-emergency 000 ./hard-off.sh
+        export initdir=$TESTDIR/overlay
+        . $basedir/dracut-init.sh
+        inst_multiple poweroff shutdown
+        inst_hook shutdown-emergency 000 ./hard-off.sh
         inst_hook emergency 000 ./hard-off.sh
-       inst_simple ./99-idesymlinks.rules /etc/udev/rules.d/99-idesymlinks.rules
-       inst ./cryptroot-ask.sh /sbin/cryptroot-ask
+        inst_simple ./99-idesymlinks.rules /etc/udev/rules.d/99-idesymlinks.rules
+        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
         echo "luks-$ID_FS_UUID UUID=$ID_FS_UUID /etc/key" > $initdir/etc/crypttab
@@ -141,11 +141,11 @@ test_setup() {
     )
 
     sudo $basedir/dracut.sh -l -i $TESTDIR/overlay / \
-       -o "plymouth network kernel-network-modules" \
-       -a "debug" \
-       -d "piix ide-gd_mod ata_piix ext2 sd_mod" \
-        --no-hostonly-cmdline -N \
-       -f $TESTDIR/initramfs.testing $KVERSION || return 1
+         -o "plymouth network kernel-network-modules" \
+         -a "debug" \
+         -d "piix ide-gd_mod ata_piix ext2 sd_mod" \
+         --no-hostonly-cmdline -N \
+         -f $TESTDIR/initramfs.testing $KVERSION || return 1
 }
 
 test_cleanup() {
index 58317708838992e4fd17acf6e743e29cf74ecda8..ac6a7caec5e057b46f30a3599518ca66a155fd48 100755 (executable)
@@ -17,7 +17,7 @@ test_run() {
     $testdir/run-qemu \
        -drive format=raw,index=0,media=disk,file=$TESTDIR/root.ext2 \
        -drive format=raw,index=1,media=disk,file=$TESTDIR/check-success.img \
-       -m 256M  -smp 2 -nographic \
+       -m 512M  -smp 2 -nographic \
        -net none \
         -no-reboot \
        -append "panic=1 root=/dev/dracut/root rw rd.auto rd.retry=20 console=ttyS0,115200n81 selinux=0 rd.debug rootwait $LUKSARGS rd.shell=0 $DEBUGFAIL" \
@@ -31,7 +31,7 @@ test_run() {
     $testdir/run-qemu \
        -drive format=raw,index=0,media=disk,file=$TESTDIR/root.ext2 \
        -drive format=raw,index=1,media=disk,file=$TESTDIR/check-success.img \
-       -m 256M  -smp 2 -nographic \
+       -m 512M  -smp 2 -nographic \
        -net none \
         -no-reboot \
        -append "panic=1 root=/dev/dracut/root rw quiet rd.auto rd.retry=20 rd.info console=ttyS0,115200n81 selinux=0 rd.debug  $DEBUGFAIL" \
@@ -45,7 +45,7 @@ test_run() {
     $testdir/run-qemu \
        -drive format=raw,index=0,media=disk,file=$TESTDIR/root.ext2 \
        -drive format=raw,index=1,media=disk,file=$TESTDIR/check-success.img \
-       -m 256M  -smp 2 -nographic \
+       -m 512M  -smp 2 -nographic \
        -net none \
         -no-reboot \
        -append "panic=1 root=/dev/dracut/root rw quiet rd.auto rd.retry=10 rd.info console=ttyS0,115200n81 selinux=0 rd.debug  $DEBUGFAIL rd.luks.uuid=failme" \
@@ -111,7 +111,7 @@ test_setup() {
        -f $TESTDIR/initramfs.makeroot $KVERSION || return 1
     rm -rf -- $TESTDIR/overlay
     # Invoke KVM and/or QEMU to actually create the target filesystem.
-    $testdir/run-qemu -drive format=raw,index=0,media=disk,file=$TESTDIR/root.ext2 -m 256M  -smp 2 -nographic -net none \
+    $testdir/run-qemu -drive format=raw,index=0,media=disk,file=$TESTDIR/root.ext2 -m 512M  -smp 2 -nographic -net none \
        -append "root=/dev/fakeroot rw rootfstype=ext2 quiet console=ttyS0,115200n81 selinux=0" \
        -initrd $TESTDIR/initramfs.makeroot  || return 1
     grep -F -m 1 -q dracut-root-block-created $TESTDIR/root.ext2 || return 1
index c1d5c6eacc184a9f2772707bb4f02bcd6543d369..9f4ed8a8a37e75f0dab55547aeeaadbbfcf2d837 100755 (executable)
@@ -13,7 +13,7 @@ client_run() {
        -drive format=raw,index=0,media=disk,file=$TESTDIR/root.ext2 \
        -drive format=raw,index=1,media=disk,file=$TESTDIR/disk1 \
        -drive format=raw,index=2,media=disk,file=$TESTDIR/disk2 \
-       -m 256M  -smp 2 -nographic \
+       -m 512M  -smp 2 -nographic \
        -net none \
         -no-reboot \
        -append "panic=1 $* root=LABEL=root rw debug rd.retry=5 rd.debug console=ttyS0,115200n81 selinux=0 rd.info rd.shell=0 $DEBUGFAIL" \
@@ -104,7 +104,7 @@ test_setup() {
        -drive format=raw,index=0,media=disk,file=$TESTDIR/root.ext2 \
        -drive format=raw,index=1,media=disk,file=$TESTDIR/disk1 \
        -drive format=raw,index=2,media=disk,file=$TESTDIR/disk2 \
-       -m 256M -nographic -net none \
+       -m 512M -nographic -net none \
        -append "root=/dev/dracut/root rw rootfstype=ext2 quiet console=ttyS0,115200n81 selinux=0" \
        -initrd $TESTDIR/initramfs.makeroot  || return 1
     grep -F -m 1 -q dracut-root-block-created $TESTDIR/root.ext2 || return 1
index 271270cd273ff1bc49752807f795a25d2f638730..b89698630190b706b0b67bca4e45265a43fdcc44 100755 (executable)
@@ -9,7 +9,7 @@ test_run() {
     DISKIMAGE=$TESTDIR/TEST-15-BTRFSRAID-root.img
     $testdir/run-qemu \
        -drive format=raw,index=0,media=disk,file=$DISKIMAGE \
-       -m 256M   -smp 2 -nographic \
+       -m 512M   -smp 2 -nographic \
        -net none \
         -no-reboot \
        -append "panic=1 root=LABEL=root rw rd.retry=3 rd.info console=ttyS0,115200n81 selinux=0 rd.shell=0 $DEBUGFAIL" \
@@ -78,7 +78,7 @@ test_setup() {
     # Invoke KVM and/or QEMU to actually create the target filesystem.
     $testdir/run-qemu \
        -drive format=raw,index=0,media=disk,file=$DISKIMAGE \
-       -m 256M   -smp 2 -nographic -net none \
+       -m 512M   -smp 2 -nographic -net none \
        -append "root=/dev/fakeroot rw quiet console=ttyS0,115200n81 selinux=0" \
        -initrd $TESTDIR/initramfs.makeroot  || return 1
 
index eb5e3ca0d075e00e7c466305f3577546ad0ca00a..f48e22d1b2599600f1ae0c86fa9281aecd5b8837 100755 (executable)
@@ -19,7 +19,7 @@ test_run() {
         -boot order=d \
         -drive format=raw,bps=1000000,index=0,media=disk,file="$TESTDIR"/livecd.iso \
         -drive format=raw,index=1,media=disk,file="$TESTDIR"/root.img \
-        -m 256M  -smp 2 \
+        -m 512M  -smp 2 \
         -nographic \
         -net none \
         -no-reboot \
@@ -30,7 +30,7 @@ test_run() {
     # "$testdir"/run-qemu \
     #     -drive format=raw,bps=1000000,index=0,media=disk,file="$TESTDIR"/livecd.iso \
     #     -drive format=raw,index=1,media=disk,file="$TESTDIR"/root.img \
-    #     -m 256M  -smp 2 \
+    #     -m 512M  -smp 2 \
     #     -net none \
     #     -append "root=live:CDLABEL=LiveCD live quiet rhgb selinux=0 rd.live.check" \
     #     -initrd "$TESTDIR"/initramfs.testing
index 1a00aa8ba910b45411244c6ef7f5352205e17754..b3ca25f0dbf7eaa20a53fca630d22f86333ac004 100755 (executable)
@@ -9,7 +9,7 @@ KVERSION=${KVERSION-$(uname -r)}
 test_run() {
     $testdir/run-qemu \
        -drive format=raw,index=0,media=disk,file=$TESTDIR/root.ext2 \
-       -m 256M  -smp 2 -nographic \
+       -m 512M  -smp 2 -nographic \
        -net none \
         -no-reboot \
        -append "panic=1 root=/dev/dracut/root rw rd.auto=1 quiet rd.retry=3 rd.info console=ttyS0,115200n81 selinux=0 rd.debug rd.shell=0 $DEBUGFAIL" \
@@ -72,7 +72,7 @@ test_setup() {
        -f $TESTDIR/initramfs.makeroot $KVERSION || return 1
     rm -rf -- $TESTDIR/overlay
     # Invoke KVM and/or QEMU to actually create the target filesystem.
-    $testdir/run-qemu -drive format=raw,index=0,media=disk,file=$TESTDIR/root.ext2 -m 256M  -smp 2 -nographic -net none \
+    $testdir/run-qemu -drive format=raw,index=0,media=disk,file=$TESTDIR/root.ext2 -m 512M  -smp 2 -nographic -net none \
        -append "root=/dev/fakeroot rw rootfstype=ext2 quiet console=ttyS0,115200n81 selinux=0" \
        -initrd $TESTDIR/initramfs.makeroot  || return 1
     grep -F -m 1 -q dracut-root-block-created $TESTDIR/root.ext2 || return 1
index 205296fbc9449ac093008eec251208324be36908..e67a4013f424a4a4d89337253f842a0b01151258 100755 (executable)
@@ -14,7 +14,7 @@ run_server() {
     fsck -a $TESTDIR/server.ext3 || return 1
     $testdir/run-qemu \
         -drive format=raw,index=0,media=disk,file=$TESTDIR/server.ext3 \
-        -m 256M  -smp 2 \
+        -m 512M  -smp 2 \
         -display none \
         -net socket,listen=127.0.0.1:12320 \
         -net nic,macaddr=52:54:00:12:34:56,model=e1000 \
@@ -52,7 +52,7 @@ client_test() {
 
     $testdir/run-qemu \
         -drive format=raw,index=0,media=disk,file=$TESTDIR/client.img \
-        -m 256M  -smp 2 -nographic \
+        -m 512M  -smp 2 -nographic \
         -net nic,macaddr=$mac,model=e1000 \
         -net socket,connect=127.0.0.1:12320 \
         -watchdog i6300esb -watchdog-action poweroff \
index 5ea471848cf23b4083c38765664390577aa12693..4e8e211419a603f696c7ebab22e83ef7bf54b8ba 100755 (executable)
@@ -207,7 +207,7 @@ test_setup() {
         -drive format=raw,index=1,media=disk,file=$TESTDIR/client.img \
         -drive format=raw,index=2,media=disk,file=$TESTDIR/iscsidisk2.img \
         -drive format=raw,index=3,media=disk,file=$TESTDIR/iscsidisk3.img \
-         -smp 2 -m 256M -nographic -net none \
+         -smp 2 -m 512M -nographic -net none \
         -append "root=/dev/fakeroot rw rootfstype=ext3 quiet console=ttyS0,115200n81 selinux=0" \
         -initrd $TESTDIR/initramfs.makeroot  || return 1
     grep -F -m 1 -q dracut-root-block-created $TESTDIR/client.img || return 1
index 2cba7fc7bbcaeca0a2d6b5d170e07be50a8301e5..8c534a8a13b0d459a8935297db02fe44f8f6f81c 100755 (executable)
@@ -16,7 +16,7 @@ run_server() {
         -drive format=raw,index=0,media=disk,file=$TESTDIR/server.ext2 \
         -drive format=raw,index=1,media=disk,file=$TESTDIR/nbd.ext2 \
         -drive format=raw,index=2,media=disk,file=$TESTDIR/encrypted.ext2 \
-        -m 256M  -smp 2 \
+        -m 512M  -smp 2 \
         -display none \
         -net nic,macaddr=52:54:00:12:34:56,model=e1000 \
         -net socket,listen=127.0.0.1:12340 \
@@ -249,7 +249,7 @@ make_encrypted_root() {
     $testdir/run-qemu \
         -drive format=raw,index=0,media=disk,file=$TESTDIR/flag.img \
         -drive format=raw,index=1,media=disk,file=$TESTDIR/encrypted.ext2 \
-        -m 256M  -smp 2\
+        -m 512M  -smp 2\
         -nographic -net none \
         -append "root=/dev/fakeroot rw quiet console=ttyS0,115200n81 selinux=0" \
         -initrd $TESTDIR/initramfs.makeroot  || return 1
index 06fb786e5677f804c3da30e0f47afa87288fde6f..cd4174c47b6e592cfe45aa66c8cade68298ca850 100755 (executable)
@@ -59,7 +59,7 @@ client_test() {
         return 1
     fi
 
-    $testdir/run-qemu -hda "$TESTDIR"/client.img -m 256M -smp 2 -nographic \
+    $testdir/run-qemu -hda "$TESTDIR"/client.img -m 512M -smp 2 -nographic \
         -net socket,vlan=0,connect=127.0.0.1:12350 \
         ${do_vlan13:+-net socket,vlan=1,connect=127.0.0.1:12351} \
         -net socket,vlan=2,connect=127.0.0.1:12352 \