bug-dejagnu
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-dejagnu] BUG: Tcl syntax error in DejaGnu testsuite


From: Jacob Bachmeyer
Subject: [Bug-dejagnu] BUG: Tcl syntax error in DejaGnu testsuite
Date: Sun, 28 Oct 2018 22:06:02 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.22) Gecko/20090807 MultiZilla/1.8.3.4e SeaMonkey/1.1.17 Mnenhy/0.7.6.0

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]