diff options
| author | Amar Tumballi <amarts@redhat.com> | 2019-06-10 09:39:38 +0530 |
|---|---|---|
| committer | Amar Tumballi <amarts@redhat.com> | 2019-06-11 13:26:59 +0000 |
| commit | c525fdc6bd79684da196e0fe7ca5630c1bac8f21 (patch) | |
| tree | cd317b077167199161149d2fdb265190683cd0c3 /tests/basic/gfapi/glfsxmp.t | |
| parent | 8e5656d950ff7bca21594b47921c6c0bf98eecea (diff) | |
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/ <any-location>/' 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 <amarts@redhat.com>
Diffstat (limited to 'tests/basic/gfapi/glfsxmp.t')
| -rw-r--r-- | tests/basic/gfapi/glfsxmp.t | 9 |
1 files changed, 2 insertions, 7 deletions
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 |
