From c525fdc6bd79684da196e0fe7ca5630c1bac8f21 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Mon, 10 Jun 2019 09:39:38 +0530 Subject: tests: keep glfsxmp in tests directory this is critical so all the tests will be contained in the same directory, and one can just 'cp -a tests/ /' and run glusterfs tests. only 'glfsxmp.c' was an exception as it was just copying the file from api example directory. Now moved it to tests. updates: bz#1193929 Change-Id: I00359d64be580bffc5b3c3a090968d86c2c6952a Signed-off-by: Amar Tumballi --- tests/basic/gfapi/glfsxmp.t | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'tests/basic/gfapi/glfsxmp.t') diff --git a/tests/basic/gfapi/glfsxmp.t b/tests/basic/gfapi/glfsxmp.t index aa3377c26e3..4f0d90d059f 100644 --- a/tests/basic/gfapi/glfsxmp.t +++ b/tests/basic/gfapi/glfsxmp.t @@ -13,15 +13,10 @@ EXPECT 'Created' volinfo_field $V0 'Status' TEST $CLI volume start $V0 EXPECT 'Started' volinfo_field $V0 'Status' -# It is good to copy the file locally and build it, so the scope remains -# inside tests directory. -TEST cp $(dirname ${0})/../../../api/examples/glfsxmp.c glfsxmp.c +TEST cp $(dirname $0)/glfsxmp-coverage.c ./glfsxmp.c TEST build_tester ./glfsxmp.c -lgfapi - TEST ./glfsxmp $V0 $H0 - -cleanup_tester ./glfsxmp - +TEST cleanup_tester ./glfsxmp TEST rm ./glfsxmp.c TEST $CLI volume stop $V0 -- cgit