tests: create an interactive gdb session with the 'debug' helper
[gitweb.git] / t / test-lib-functions.sh
index bd357704cce987afa79ec8fce038aa05f8c0a762..4a50a61040a651beeb10762bcb9241cbc7a56a60 100644 (file)
@@ -154,7 +154,7 @@ test_pause () {
 #
 # Example: "debug git checkout master".
 debug () {
-        GIT_TEST_GDB=1 "$@"
+        GIT_TEST_GDB=1 "$@" <&6 >&5 2>&7
 }
 
 # Call test_commit with the arguments