diff options
author | Emmanuel Dreyfus <manu@netbsd.org> | 2015-03-16 11:36:38 +0100 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2015-03-18 04:32:07 -0700 |
commit | bf16d438237166c9379b8388a1be71b2dec4dd4d (patch) | |
tree | 67d66aff0a0861de0099678c8170ff6505909e5e /xlators/cluster/dht/src/dht-diskusage.c | |
parent | c73825b4bdb459219f06ec34706c0f2551cb9b0c (diff) |
Tests: do not hardcode NFS state directory
tests/basic/mount-nfs-auth.t hardcoded /var/lib/glusterd/nfs/
as the NFS state directory, cuasing failures if glusterfs was
configured with state in another location.
Fix this by obtaning the directory through a gluster volume get
command. The nfs.mount-rmtab key gives us a file inside the
directory we are looking for.
This fixes tests/basic/mount-nfs-auth.t regression on NetBSD.
BUG: 1129939
Change-Id: I19184859c03faf5b9aeb95d080cf90fa581be380
Signed-off-by: Emmanuel Dreyfus <manu@netbsd.org>
Reviewed-on: http://review.gluster.org/9896
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/cluster/dht/src/dht-diskusage.c')
0 files changed, 0 insertions, 0 deletions