summaryrefslogtreecommitdiffstats
path: root/tests/bugs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs')
-rw-r--r--tests/bugs/bug-1051896.t2
-rw-r--r--tests/bugs/bug-1058663.t3
-rwxr-xr-xtests/bugs/bug-824753.t2
-rw-r--r--tests/bugs/bug-905864.t3
4 files changed, 4 insertions, 6 deletions
diff --git a/tests/bugs/bug-1051896.t b/tests/bugs/bug-1051896.t
index 75859cbef0c..195602ec3a7 100644
--- a/tests/bugs/bug-1051896.t
+++ b/tests/bugs/bug-1051896.t
@@ -17,7 +17,7 @@ TEST glusterfs --entry-timeout=0 --attribute-timeout=0 --acl -s $H0 --volfile-id
TEST touch $M0/file1;
-gcc -lacl $(dirname $0)/bug-1051896.c -o $(dirname $0)/bug-1051896
+$CC -lacl $(dirname $0)/bug-1051896.c -o $(dirname $0)/bug-1051896
TEST ! $(dirname $0)/bug-1051896 $M0/file1 m 'u::r,u::w,g::r--,o::r--'
rm -f $(dirname $0)/bug-1051896
diff --git a/tests/bugs/bug-1058663.t b/tests/bugs/bug-1058663.t
index bf8dc6cabca..168d18ad312 100644
--- a/tests/bugs/bug-1058663.t
+++ b/tests/bugs/bug-1058663.t
@@ -16,7 +16,7 @@ TEST $CLI volume start $V0;
TEST glusterfs --entry-timeout=0 --attribute-timeout=0 -s $H0 --volfile-id $V0 $M0
# compile the test program and run it
-gcc $(dirname $0)/bug-1058663.c -o $(dirname $0)/bug-1058663;
+$CC $(dirname $0)/bug-1058663.c -o $(dirname $0)/bug-1058663;
TEST $(dirname $0)/bug-1058663 $M0/bug-1058663.bin;
rm -f $(dirname $0)/M0/bug-1058663.bin;
@@ -26,4 +26,3 @@ TEST $CLI volume stop $V0;
TEST $CLI volume delete $V0;
cleanup;
-
diff --git a/tests/bugs/bug-824753.t b/tests/bugs/bug-824753.t
index 38f6bf6965f..772219a424b 100755
--- a/tests/bugs/bug-824753.t
+++ b/tests/bugs/bug-824753.t
@@ -30,7 +30,7 @@ EXPECT 'Started' volinfo_field $V0 'Status';
TEST glusterfs -s $H0 --volfile-id=$V0 $M0
touch $M0/file1;
-TEST gcc -g $(dirname $0)/bug-824753-file-locker.c -o $(dirname $0)/file-locker
+TEST $CC -g $(dirname $0)/bug-824753-file-locker.c -o $(dirname $0)/file-locker
TEST $(dirname $0)/file-locker $V0 $H0 $B0 $M0 file1
diff --git a/tests/bugs/bug-905864.t b/tests/bugs/bug-905864.t
index 44bb469f288..cdc0cb71725 100644
--- a/tests/bugs/bug-905864.t
+++ b/tests/bugs/bug-905864.t
@@ -20,7 +20,7 @@ TEST touch $M0/file1;
#following C program tries open up race(s) if any, in F_GETLK/F_SETLKW codepaths
#of locks xlator
-gcc -lpthread -g3 $(dirname $0)/bug-905864.c -o $(dirname $0)/bug-905864
+$CC -lpthread -g3 $(dirname $0)/bug-905864.c -o $(dirname $0)/bug-905864
$(dirname $0)/bug-905864 $M0/file1 &
$(dirname $0)/bug-905864 $M1/file1;
wait
@@ -29,4 +29,3 @@ rm -f $(dirname $0)/bug-905864
EXPECT $(brick_count $V0) online_brick_count
cleanup
-