]> 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)
committerJoao Eduardo Luis <joao.luis@inktank.com>
Thu, 26 Jun 2014 00:00:35 +0000 (01:00 +0100)
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
qa/workunits/cephtool/test.sh

index 79984be06d685654fb7712746332a695b2665597..20a8475442ea248282a7540385468890c9cc8c0a 100755 (executable)
@@ -758,6 +758,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
@@ -828,9 +829,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 ;