]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/workunits: cephtool: disable bash debug when not running tests
authorJoao Eduardo Luis <joao.luis@inktank.com>
Tue, 24 Jun 2014 21:46:44 +0000 (22:46 +0100)
committerSage Weil <sage@redhat.com>
Fri, 1 Aug 2014 23:57:01 +0000 (16:57 -0700)
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
(cherry picked from commit 946bd0dad4b027326b03c13405782b99ef0f91b2)

qa/workunits/cephtool/test.sh

index 9b24120c7907bb9f4d5642e4b87b3f21518dd56b..7ac76a2ea423853766b55ab87edae9f481983836 100755 (executable)
@@ -741,6 +741,7 @@ function test_osd_bench()
 # will run all tests following the order they appear in the TESTS array.
 #
 
+set +x
 TESTS=(
   mon_injectargs_SI
   tiering
@@ -811,9 +812,13 @@ if [[ ${#tests_to_run[@]} -eq 0 ]]; then
 fi
 
 for i in ${tests_to_run[@]}; do
+  set -x
   test_${i} ;
+  set +x
 done
 
+set -x
+
 #test_mon_injectargs_SI ;
 #test_tiering ;
 #test_auth ;