Adjust testsuite to copy output to log
authorJacob Bachmeyer <jcb@gnu.org>
Wed, 19 Oct 2022 02:43:34 +0000 (21:43 -0500)
committerJacob Bachmeyer <jcb@gnu.org>
Wed, 19 Oct 2022 02:43:34 +0000 (21:43 -0500)
testsuite/lib/gatekeeper.exp

index da41226a20a4824038a53782b70ed44ddfc55d65..1fb59d779ebe33f40dd1aec5157705d1a02ce475 100644 (file)
@@ -298,7 +298,8 @@ proc run_upload_batch_test {} {
     }
     lappend runcmd $GATEKEEPER_TOOL --testing-this-script -s ftp
     eval $runcmd
-    wait
+    # copy any output produced to the log
+    expect { -re {.+} { exp_continue }  eof { wait } }
 }
 
 proc analyze_file_tree { base_dir name zones mode {itemlist {}} } {