summaryrefslogtreecommitdiffstats
path: root/tests/bugs/bug-905864.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs/bug-905864.t')
-rw-r--r--tests/bugs/bug-905864.t5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/bugs/bug-905864.t b/tests/bugs/bug-905864.t
index cdc0cb71725..39598d6e92b 100644
--- a/tests/bugs/bug-905864.t
+++ b/tests/bugs/bug-905864.t
@@ -20,12 +20,13 @@ TEST touch $M0/file1;
#following C program tries open up race(s) if any, in F_GETLK/F_SETLKW codepaths
#of locks xlator
-$CC -lpthread -g3 $(dirname $0)/bug-905864.c -o $(dirname $0)/bug-905864
+TEST $CC -pthread -g3 $(dirname $0)/bug-905864.c -o $(dirname $0)/bug-905864
+
$(dirname $0)/bug-905864 $M0/file1 &
$(dirname $0)/bug-905864 $M1/file1;
wait
-rm -f $(dirname $0)/bug-905864
+TEST rm -f $(dirname $0)/bug-905864
EXPECT $(brick_count $V0) online_brick_count
cleanup