Opened 3 months ago

Last modified 3 months ago

#70222 closed defect

sudo make test fails push_log test — at Version 1

Reported by: kurthindenburg (Kurt Hindenburg) Owned by:
Priority: Normal Milestone:
Component: base Version:
Keywords: Cc:
Port:

Description (last modified by ryandesign (Ryan Carsten Schmidt))

sudo make test after sudo make install - current master as of now

===> making test in src/macports1.0
/opt/local/libexec/macports/bin/tclsh8.6 ./../tests/test.tcl -nocolor
Total: 4 Passed: 4 Failed: 0 Skipped: 0  reclaim.test
Total:14 Passed:14 Failed: 0 Skipped: 0  macports_dlist.test
Total:13 Passed:13 Failed: 0 Skipped: 0  macports_util.test
Total:45 Passed:42 Failed: 1 Skipped: 2  macports.test
    Constraint: 1       hasGitSvn
    Constraint: 1       hasSvn


==== push_log Push log unit test. FAILED
==== Contents of test case:

    if {[catch {macports::push_log $mport}] != 0} {
        return "FAIL: cannot push log"
    }
    global macports::logstack macports::debuglog macports::debuglogname
    if {[lindex $logstack 0] ne [list $debuglog $debuglogname]} {
        return "FAIL: incorrect logstack"
    }
    return "Push log successful."

---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
---- errorInfo: can't read "logstack": no such variable
    while executing
"lindex $logstack 0"
    ("uplevel" body line 6)
    invoked from within
"uplevel 1 $script"
---- errorCode: TCL LOOKUP VARNAME logstack
==== push_log FAILED

Change History (2)

Changed 3 months ago by kurthindenburg (Kurt Hindenburg)

Attachment: config.log.gz added

comment:1 Changed 3 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Note: See TracTickets for help on using tickets.