summaryrefslogtreecommitdiffstats
path: root/tests/volume.rc
diff options
context:
space:
mode:
authorEmmanuel Dreyfus <manu@netbsd.org>2014-07-10 06:02:38 +0200
committerHarshavardhana <harsha@harshavardhana.net>2014-07-28 17:41:42 -0700
commita95444c95cfde4d80c179f2af2f0334565049a51 (patch)
treec533b1b345a319cb3cd75e030213288445863485 /tests/volume.rc
parent38bae1bcf95e0b4f713120783c2e26fcc3f629b5 (diff)
Regression test portability: ps
ps aux is truncated to the terminal width on NetBSD, Use ps auxww to avoid that BUG: 764655 Change-Id: I28a2fc23e2823dd6524a72da30111b86fc4bfa7b Signed-off-by: Emmanuel Dreyfus <manu@netbsd.org> Reviewed-on: http://review.gluster.org/8281 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Harshavardhana <harsha@harshavardhana.net> Tested-by: Harshavardhana <harsha@harshavardhana.net>
Diffstat (limited to 'tests/volume.rc')
-rw-r--r--tests/volume.rc6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/volume.rc b/tests/volume.rc
index 3ed0c6887c6..4e798dfc026 100644
--- a/tests/volume.rc
+++ b/tests/volume.rc
@@ -43,12 +43,12 @@ function remove_brick_status_completed_field {
function get_mount_process_pid {
local vol=$1
- ps aux | grep glusterfs | grep -E "volfile-id[ =]/?$vol " | awk '{print $2}' | head -1
+ ps auxww | grep glusterfs | grep -E "volfile-id[ =]/?$vol " | awk '{print $2}' | head -1
}
function get_nfs_pid ()
{
- ps aux | grep "volfile-id\ gluster\/nfs" | awk '{print $2}' | head -1
+ ps auxww | grep "volfile-id\ gluster\/nfs" | awk '{print $2}' | head -1
}
function read_nfs_pidfile ()
@@ -112,7 +112,7 @@ function afr_child_up_status {
function get_shd_process_pid {
local vol=$1
- ps aux | grep glusterfs | grep -E "glustershd/run/glustershd.pid" | awk '{print $2}' | head -1
+ ps auxww | grep glusterfs | grep -E "glustershd/run/glustershd.pid" | awk '{print $2}' | head -1
}
function generate_shd_statedump {