summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPoornima G <pgurusid@redhat.com>2016-08-18 12:36:37 +0530
committerRaghavendra Talur <rtalur@redhat.com>2016-08-22 07:44:57 -0700
commitc48f99ae6b4cb44415f2451277cd472a26503034 (patch)
tree8a27bd13855461894101685c4b3de79cc64d536e /tests
parentca18f4bccd090e98ee5342ca05d3c0f9f94e9e2c (diff)
tests: Remove explicit mention of include location
This hopefully fixes the spurious failures with error: glusterfs/api/glfs.h No such file or directory build.gluster.org/job/rackspace-regression-2GB-triggered/22897/consoleFull BUG: 1365489 Change-Id: Ic3660de810c0daee7284373bbfaed172aba86d69 Signed-off-by: Poornima G <pgurusid@redhat.com> Reviewed-on: http://review.gluster.org/15194 NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Raghavendra Talur <rtalur@redhat.com> Smoke: Gluster Build System <jenkins@build.gluster.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/basic/gfapi/gfapi-trunc.t9
1 files changed, 1 insertions, 8 deletions
diff --git a/tests/basic/gfapi/gfapi-trunc.t b/tests/basic/gfapi/gfapi-trunc.t
index 134e78de1fd..4943a6be898 100644
--- a/tests/basic/gfapi/gfapi-trunc.t
+++ b/tests/basic/gfapi/gfapi-trunc.t
@@ -13,14 +13,7 @@ EXPECT 'Started' volinfo_field $V0 'Status';
logdir=`gluster --print-logdir`
-# Special Snowflake NetBSD isn't set up to run tests that involve building
-# executables. Until that's fixed somewhere else, patch things up here.
-if [ x"$OSTYPE" = x"NetBSD" ]; then
- mkdir -p $logdir
- 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
TEST ./$(dirname $0)/gfapi-trunc $V0 $logdir/gfapi-trunc.log