summaryrefslogtreecommitdiffstats
path: root/tests/bugs/disperse
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs/disperse')
-rw-r--r--tests/bugs/disperse/bug-1161886.c4
-rw-r--r--tests/bugs/disperse/bug-1161886.t2
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/bugs/disperse/bug-1161886.c b/tests/bugs/disperse/bug-1161886.c
index 036f4ad1cc7..e8093e48a7a 100644
--- a/tests/bugs/disperse/bug-1161886.c
+++ b/tests/bugs/disperse/bug-1161886.c
@@ -1,7 +1,7 @@
#include <stdio.h>
-#include "glfs.h"
-#include "glfs-handles.h"
+#include <glusterfs/api/glfs.h>
+#include <glusterfs/api/glfs-handles.h>
int
main (int argc, char *argv[])
diff --git a/tests/bugs/disperse/bug-1161886.t b/tests/bugs/disperse/bug-1161886.t
index 73b75619f28..e7322210a3e 100644
--- a/tests/bugs/disperse/bug-1161886.t
+++ b/tests/bugs/disperse/bug-1161886.t
@@ -34,7 +34,7 @@ TEST mv $M0/file1 $M0/file2
TEST ! stat $M0/file1
TEST stat $M0/file2
-TEST gcc -Wall -O2 -I api/src -o $(dirname $0)/bug-1161886 $(dirname $0)/bug-1161886.c -lgfapi
+TEST build_tester $(dirname $0)/bug-1161886.c -lgfapi -Wall -O2
TEST $(dirname $0)/bug-1161886 $H0 $V0 /file2
EXPECT "^0$" stat -c "%s" $M0/file2
EXPECT "^Y$" check_ec_size file2 0