diff options
| author | Emmanuel Dreyfus <manu@netbsd.org> | 2015-03-16 11:36:38 +0100 |
|---|---|---|
| committer | gluster-ant <bugzilla-bot@gluster.org> | 2015-03-16 11:36:38 +0100 |
| commit | 12eacc3b123ba4bb3ec3e8bd0ab9e97ef6455c62 (patch) | |
| tree | c4911a9743244bc78f8764b0605fc7a8896313cb /cli/src/cli-cmd-parser.c | |
| parent | aaa1799974db52e35eb03dff85a0968379f3eb70 (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 'cli/src/cli-cmd-parser.c')
0 files changed, 0 insertions, 0 deletions
