]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
testsuite: add "rd.memdebug=4" in TEST-01-BASIC to test rd.memdebug 183/head 186/head
authorXunlei Pang <xlpang@redhat.com>
Sun, 27 Nov 2016 04:19:41 +0000 (12:19 +0800)
committerXunlei Pang <xlpang@redhat.com>
Sun, 27 Nov 2016 04:21:02 +0000 (12:21 +0800)
"rd.memdebug=4" includes all the test level, so add it to test
rd.memdebug function.

Signed-off-by: Xunlei Pang <xlpang@redhat.com>
test/TEST-01-BASIC/test.sh

index fe0989d80864d979896a8bc2874c455fcf07e9a2..efbcde6e265eee6445261f7346b7ec256b257195 100755 (executable)
@@ -15,7 +15,7 @@ test_run() {
        -net none \
        -watchdog i6300esb -watchdog-action poweroff \
         -no-reboot \
-       -append "panic=1 root=LABEL=dracut rw systemd.log_level=debug systemd.log_target=console rd.retry=3 rd.debug console=ttyS0,115200n81 rd.shell=0 $DEBUGFAIL" \
+       -append "panic=1 root=LABEL=dracut rw systemd.log_level=debug systemd.log_target=console rd.retry=3 rd.debug console=ttyS0,115200n81 rd.shell=0 $DEBUGFAIL rd.memdebug=4" \
        -initrd $TESTDIR/initramfs.testing || return 1
     grep -F -m 1 -q dracut-root-block-success $TESTDIR/result || return 1
 }