diff options
Diffstat (limited to 'tests/basic')
-rw-r--r-- | tests/basic/afr/self-heal.t | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/basic/afr/self-heal.t b/tests/basic/afr/self-heal.t index 60e953b9996..98b4487af5b 100644 --- a/tests/basic/afr/self-heal.t +++ b/tests/basic/afr/self-heal.t @@ -7,7 +7,13 @@ cleanup; #Init AREQUAL_PATH=$(dirname $0)/../../utils -build_tester $AREQUAL_PATH/arequal-checksum.c +CFLAGS="" +test "`uname -s`" != "Linux" && { + CFLAGS="$CFLAGS -I$(dirname $0)/../../../contrib/argp-standalone "; + CFLAGS="$CFLAGS -L$(dirname $0)/../../../contrib/argp-standalone -largp "; + CFLAGS="$CFLAGS -lintl"; +} +build_tester $AREQUAL_PATH/arequal-checksum.c $CFLAGS TEST glusterd TEST pidof glusterd TEST $CLI volume create $V0 replica 2 $H0:$B0/brick{0,1} |