X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Ftests%2Fsgpdd-survey.sh;h=a83dbf0d7ba2ed250b4082655badc4335c6d43e3;hb=f3157cbd850c1786a03d2375956f695c9a0e8b0a;hp=cd4ec0e12bbbde07733df55fe906d5ee36be9de9;hpb=dee5f24114531ec34fc56ce2826ada9e5690aabc;p=fs%2Flustre-release.git diff --git a/lustre/tests/sgpdd-survey.sh b/lustre/tests/sgpdd-survey.sh index cd4ec0e..a83dbf0 100644 --- a/lustre/tests/sgpdd-survey.sh +++ b/lustre/tests/sgpdd-survey.sh @@ -16,9 +16,9 @@ size=${size:-1024} [ "$SLOW" = no ] && { crghi=2; thrhi=2; } -if ! ([ "$SGPDD_YES" ] && [ "$REFORMAT" ]); then - skip_env "$0 reformats all devices, please set SGPDD_YES and REFORMAT to run this test" - exit 0 +if [ "$SGPDD_YES" != "yes" -o "$REFORMAT" != "yes" ]; then + skip_env "$0 reformats all devices, set SGPDD_YES=yes REFORMAT=yes" + exit 0 fi # Skip these tests