Include more information in the test log
authorJacob Bachmeyer <jcb@gnu.org>
Sat, 1 May 2021 00:05:00 +0000 (19:05 -0500)
committerJacob Bachmeyer <jcb@gnu.org>
Sat, 1 May 2021 00:05:00 +0000 (19:05 -0500)
Previously, the analyze_file_tree procedure stopped immediately when a
tree that was expected to be empty was found to contain files.  This
change causes a full list of the files found to appear in the log.

testsuite/lib/upload.exp

index d1ef2d4febc70becc058d4aef94e542492ef8073..989125df3a5e7f77822873ab4466eb486d5381f2 100644 (file)
@@ -299,7 +299,7 @@ proc analyze_file_tree { base_dir name zones mode {itemlist {}} } {
                expect {
                    -ex $zone_base { exp_continue }
                    -re {^[\r\n]+} { exp_continue }
-                   -re {.+} { set result fail }
+                   -re {.+} { set result fail; exp_continue }
                }
            }