summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorOleksandr Natalenko <oleksandr@natalenko.name>2016-08-20 22:05:20 +0300
committerNiels de Vos <ndevos@redhat.com>2016-08-21 04:41:41 -0700
commit7e851b4f3d0e231e601842df6171fd528f16aa47 (patch)
tree9c0fec0dfc01a509859494e7f463b9a470589489 /tests
parent10d044b62e476e032e8bda59fe8fbb3b8b0576b4 (diff)
tests: do not let gfapi-trunc fail
gfapi-trunc test was mistakenly backported as .t in through http://review.gluster.org/15149. gfapi tests are currently not compiled/linked correctly in release-3.8 and earlier. Until then, tests need to be run manually, and not in our automated regression framework. Change-Id: I45d69564b4340475d4ea60f825fa7288dad65849 BUG: 1368738 Signed-off-by: Oleksandr Natalenko <oleksandr@natalenko.name> Reviewed-on: http://review.gluster.org/15223 NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Niels de Vos <ndevos@redhat.com> Smoke: Gluster Build System <jenkins@build.gluster.org>
Diffstat (limited to 'tests')
-rwxr-xr-x[-rw-r--r--]tests/basic/gfapi/gfapi-trunc.sh (renamed from tests/basic/gfapi/gfapi-trunc.t)4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/basic/gfapi/gfapi-trunc.t b/tests/basic/gfapi/gfapi-trunc.sh
index 134e78de1fd..ce604f4d098 100644..100755
--- a/tests/basic/gfapi/gfapi-trunc.t
+++ b/tests/basic/gfapi/gfapi-trunc.sh
@@ -5,7 +5,7 @@
TEST glusterd
-TEST $CLI volume create $V0 ${H0}:$B0/brick1;
+TEST $CLI volume create $V0 localhost:$B0/brick1;
EXPECT 'Created' volinfo_field $V0 'Status';
TEST $CLI volume start $V0;
@@ -20,7 +20,7 @@ if [ x"$OSTYPE" = x"NetBSD" ]; then
extra_cflags="-I/build/install/include -L/build/install/lib"
fi
-build_tester $(dirname $0)/gfapi-trunc.c -lgfapi ${extra_cflags}
+build_tester $(dirname $0)/gfapi-trunc.c -lgfapi -o $(dirname $0)/gfapi-trunc
TEST ./$(dirname $0)/gfapi-trunc $V0 $logdir/gfapi-trunc.log