#59697 closed defect (fixed)
portdmg.test and portmdmg.test tests fail on Catalina
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | jmroot (Joshua Root) |
---|---|---|---|
Priority: | Normal | Milestone: | MacPorts 2.6.3 |
Component: | base | Version: | 2.6.2 |
Keywords: | catalina | Cc: | kurthindenburg (Kurt Hindenburg) |
Port: |
Description
https://build.macports.org/builders/base-10.15_x86_64/builds/4/steps/test/logs/stdio
Total: 1 Passed: 0 Failed: 1 Skipped: 0 portdmg.test > Creating disk image for fondu-060102_1 ==== package_dmg Package dmg unit test. FAILED ==== Contents of test case: if {[portdmg::dmg_main] != 0} { return "FAIL: cannot create dmg" } if {![file exists $pwd/pkg/fondu-060102_1.dmg]} { return "FAIL: missing .dmg file" } if {![file exists $pwd/pkg/fondu-060102_1/fondu-060102_1.pkg]} { return "FAIL: invalid package.destpath" } return "Package dmg successful." ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: command execution failed while executing "system "$hdiutil internet-enable -quiet -yes ${final_image}"" (procedure "package_dmg" line 37) invoked from within "package_dmg $subport $version $revision" (procedure "portdmg::dmg_main" line 10) invoked from within "portdmg::dmg_main" ("uplevel" body line 2) invoked from within "uplevel 1 $script" ---- errorCode: CHILDSTATUS 10115 1 ==== package_dmg FAILED
Total: 1 Passed: 0 Failed: 1 Skipped: 0 portmdmg.test ==== package_mdmg Package mdmg unit test. FAILED ==== Contents of test case: if {[portmdmg::package_mdmg $subport $version $revision] != 0} { return "FAIL: cannot create mdmg" } if {![file exists $pwd/pkg/fondu-060102_1.dmg]} { return "FAIL: missing .dmg file" } if {![file exists $pwd/pkg/fondu-060102_1/fondu-060102_1.mpkg]} { return "FAIL: invalid package.destpath" } return "Package dmg successful." ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: command execution failed while executing "system "$hdiutil internet-enable -quiet -yes ${final_image}"" (procedure "portmdmg::package_mdmg" line 37) invoked from within "portmdmg::package_mdmg $subport $version $revision" ("uplevel" body line 2) invoked from within "uplevel 1 $script" ---- errorCode: CHILDSTATUS 10142 1 ==== package_mdmg FAILED
Change History (5)
comment:1 Changed 5 years ago by kurthindenburg (Kurt Hindenburg)
Cc: | kurthindenburg added |
---|
comment:2 Changed 5 years ago by kurthindenburg (Kurt Hindenburg)
The test sets:
set os.major 10
so I can't check that. What's the reason for setting that in a test?
This should be a simple 'if {${os.major} < 19}' then do the internet-enable command.
comment:3 Changed 5 years ago by jmroot (Joshua Root)
Owner: | set to jmroot |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:4 Changed 5 years ago by jmroot (Joshua Root)
comment:5 Changed 5 years ago by jmroot (Joshua Root)
Milestone: | → MacPorts 2.6.3 |
---|
Note: See
TracTickets for help on using
tickets.
from man hdiutil:
This is why the dmg fails to get build in 10.15
hdiutil: internet-enable: verb not recognized