[MacPorts] #70222: sudo make test fails push_log test

MacPorts noreply at macports.org
Fri Jun 14 17:18:44 UTC 2024


#70222: sudo make test fails push_log test
----------------------------+--------------------
 Reporter:  kurthindenburg  |      Owner:  (none)
     Type:  defect          |     Status:  new
 Priority:  Normal          |  Milestone:
Component:  base            |    Version:
 Keywords:                  |       Port:
----------------------------+--------------------
 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
 `

-- 
Ticket URL: <https://trac.macports.org/ticket/70222>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list