From fa9ae62a9ee2bbdf85f30b288f41101c0c890238 Mon Sep 17 00:00:00 2001 From: Pádraig Brady
Date: Sat, 16 Jan 2016 13:53:48 +0000 Subject: tests: show mount list on failure for df tests * init.cfg (dump_mount_list_): A new function to output the system mount list. * tests/df/df-symlink.sh: Call dump_mount_list_ upon failure. * tests/df/over-mount-device.sh: Likewise. * tests/df/problematic-chars.sh: Likewise. * tests/df/skip-rootfs.sh: Likewise. * tests/df/total-verify.sh: Likewise. * tests/df/unreadable.sh: Likewise. --- tests/df/total-verify.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/df/total-verify.sh') diff --git a/tests/df/total-verify.sh b/tests/df/total-verify.sh index d0b2b7be8..79722e493 100755 --- a/tests/df/total-verify.sh +++ b/tests/df/total-verify.sh @@ -62,4 +62,6 @@ cat inode $PERL check-df space || fail=1 $PERL check-df inode || fail=1 +test "$fail" = 1 && dump_mount_list_ + Exit $fail -- cgit v1.2.3-70-g09d2