From d0881dd6c4820704cab55b1ea521f09a3f8ba616 Mon Sep 17 00:00:00 2001 From: Alex Zhuravlev Date: Fri, 18 Oct 2019 07:56:52 +0300 Subject: [PATCH] LU-12888 tests: remove big files in sanity otherwise sanity easily fails on a local setup Test-Parameters: trivial Change-Id: Ia0a561e650fca05837445eebe25ff1dea15366e4 Signed-off-by: Alex Zhuravlev Reviewed-on: https://review.whamcloud.com/36511 Reviewed-by: Andreas Dilger Tested-by: jenkins Tested-by: Maloo Reviewed-by: Mike Pershin --- lustre/tests/sanity.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index ea94563..96a4e65 100755 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -9448,6 +9448,7 @@ test_77d() { # bug 10889 [ $PARALLEL == "yes" ] && skip "skip parallel run" $GSS && skip_env "could not run with gss" + stack_trap "rm -f $DIR/$tfile" #define OBD_FAIL_OSC_CHECKSUM_SEND 0x409 $LCTL set_param fail_loc=0x80000409 set_checksums 1 @@ -9472,6 +9473,7 @@ test_77f() { # bug 10889 $GSS && skip_env "could not run with gss" set_checksums 1 + stack_trap "rm -f $DIR/$tfile" for algo in $CKSUM_TYPES; do cancel_lru_locks osc set_checksum_type $algo @@ -20762,6 +20764,7 @@ test_255a() { skip "lustre < 2.8.54 does not support ladvise " remote_ost_nodsh && skip "remote OST with nodsh" + stack_trap "rm -f $DIR/$tfile" lfs setstripe -c -1 -i 0 $DIR/$tfile || error "$tfile failed" ladvise_no_type willread $DIR/$tfile && @@ -20849,6 +20852,7 @@ test_255b() { skip "lustre < 2.8.54 does not support ladvise " remote_ost_nodsh && skip "remote OST with nodsh" + stack_trap "rm -f $DIR/$tfile" lfs setstripe -c 1 -i 0 $DIR/$tfile ladvise_no_type dontneed $DIR/$tfile && -- 1.8.3.1