diff options
author | Ujjwala <ujjwala@gluster.com> | 2011-12-08 15:09:25 +0530 |
---|---|---|
committer | Ujjwala <ujjwala@gluster.com> | 2011-12-08 15:09:25 +0530 |
commit | 020c2d441e83e616010b921bd266086ed387afa7 (patch) | |
tree | 03e9818358b2c144bbed644e2c2ef09672f865a7 /sanity | |
parent | 7b6014ce85b4dfca6616f137665cd00e5624c4b0 (diff) | |
parent | d5457aa0ba65d2a54ef310f1dd9e8adddb0fd465 (diff) |
Merge branch 'master' of https://github.com/gluster/qa
Diffstat (limited to 'sanity')
-rwxr-xr-x | sanity/nightly_sanity/nightly_updated.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sanity/nightly_sanity/nightly_updated.sh b/sanity/nightly_sanity/nightly_updated.sh index baed7d3..a8f4da1 100755 --- a/sanity/nightly_sanity/nightly_updated.sh +++ b/sanity/nightly_sanity/nightly_updated.sh @@ -702,7 +702,7 @@ function take_statedump () BRICK_PID=$(cat /etc/glusterd/vols/vol/run/$i); kill -USR1 $BRICK_PID; sleep 1; - mv /tmp/glusterdump.$BRICK_PID $dir; + mv /tmp/*.$BRICK_PID.dump $dir; done for j in $(seq 1 $num_clients) @@ -710,10 +710,10 @@ function take_statedump () CLIENT_PID=$(cat /tmp/client_pid$j); kill -USR1 $CLIENT_PID; sleep 1; - mv /tmp/glusterdump.$CLIENT_PID $dir; + mv /tmp/*.$CLIENT_PID.dump $dir; done } - + function main() { echo "In main"; @@ -724,7 +724,7 @@ function main() start_glusterd; start_glusterfs; take_statedump $LOGDIR/old_dump/; - run_tests; + run_tests; take_statedump $LOGDIR/new_dump/; trap - INT TERM EXIT post_run; |