While attempting to run the DejaGnu testsuite, I found that a Tcl error was caused by a missing closing double-quote in dejagnu/testsuite/runtest.all/utils.test. Tcl bails out while attempting to compile the bad script fragment, even though it is never run.

Also, am I getting the correct result of 82 expected passes?

patch:

diff --git a/testsuite/runtest.all/utils.test b/testsuite/runtest.all/utils.test
index de8c809..be13982 100644
--- a/testsuite/runtest.all/utils.test
+++ b/testsuite/runtest.all/utils.test
@@ -70,7 +70,7 @@ if [info exists env(TESTRUN)] {
    if { $env(TESTRUN) == "FooBar" } {
        pass "setenv, set an environment variable"
    } else {
-        fail "setenv, set an environment variable
+        fail "setenv, set an environment variable"
    }
} else {
    fail "setenv, set an environment variable"


-- Jacob


_______________________________________________
Bug-dejagnu mailing list
Bug-dejagnu@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-dejagnu

Reply via email to