diff options
author | Harshavardhana <harsha@harshavardhana.net> | 2014-08-08 01:56:23 -0700 |
---|---|---|
committer | Harshavardhana <harsha@harshavardhana.net> | 2014-08-13 22:01:27 -0700 |
commit | 8116328a6b4ead0207fc5f93fcac9a2606c6f6ab (patch) | |
tree | 2c3029deb4c1eeabddd67a58d6ddd8c71411079c /tests/bugs/bug-905864.t | |
parent | 37b31605c6a2495848d52270e37b5fa0a8b9fdd5 (diff) |
porting: FreeBSD related changes to regression scripts
- json_verify do not use '/usr/bin' let bash evaluate the location
- TEST for test code compilation `bug-1051896.t`, `bug-1058663.t`,
bug-905864.t
- run-tests.sh - better checks for installed packages
Change-Id: Ic7feda36ddfc082c609aabd75da2e9a8f59a92b3
BUG: 1111774
Signed-off-by: Harshavardhana <harsha@harshavardhana.net>
Reviewed-on: http://review.gluster.org/8435
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Emmanuel Dreyfus <manu@netbsd.org>
Tested-by: Emmanuel Dreyfus <manu@netbsd.org>
Diffstat (limited to 'tests/bugs/bug-905864.t')
-rw-r--r-- | tests/bugs/bug-905864.t | 5 |
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 |