xref: /freebsd/contrib/bmake/unit-tests/varmod-shell.exp (revision 1d3f2ddc32fc37e4835aa5a51eabc8696c1e8114)
1e2eeea75SSimon J. Gerratymake: "echo word; false" returned non-zero status
2e2eeea75SSimon J. Gerratymake: "echo word; false" returned non-zero status
3*1d3f2ddcSSimon J. GerratyGlobal: _ = # (empty)
49f45a3c8SSimon J. GerratyVar_Parse: ${:!echo word; ${:Ufalse}!} (eval-keep-dollar-and-undefined)
59f45a3c8SSimon J. GerratyEvaluating modifier ${:!...} on value "" (eval-keep-dollar-and-undefined, undefined)
69f45a3c8SSimon J. GerratyModifier part: "echo word; false"
79f45a3c8SSimon J. GerratyCapturing the output of command "echo word; false"
89f45a3c8SSimon J. Gerratymake: "echo word; false" returned non-zero status
99f45a3c8SSimon J. GerratyResult of ${:!echo word; ${:Ufalse}!} is "word" (eval-keep-dollar-and-undefined, defined)
109f45a3c8SSimon J. GerratyGlobal: _ = word
119f45a3c8SSimon J. GerratyGlobal: .MAKEFLAGS =  -r -k -d v -d
129f45a3c8SSimon J. GerratyGlobal: .MAKEFLAGS =  -r -k -d v -d 0
132c3632d1SSimon J. Gerratyexit status 0
14