]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: add function name and line number to cephtool output
authorLoic Dachary <loic@dachary.org>
Sun, 15 Dec 2013 20:41:00 +0000 (21:41 +0100)
committerLoic Dachary <loic@dachary.org>
Sun, 15 Dec 2013 20:45:31 +0000 (21:45 +0100)
Signed-off-by: Loic Dachary <loic@dachary.org>
qa/workunits/cephtool/test.sh

index 063b2594d98929116c242fbf5f8d2bf650a48972..ab88d0093a4ac157ff6d94c41d7ad9c894cf318b 100755 (executable)
@@ -1,6 +1,8 @@
 #!/bin/bash -x
 
 set -e
+set -o functrace
+PS4=' ${FUNCNAME[0]}: $LINENO: '
 
 get_pg()
 {