2015-04-20 03:45:54 +00:00
|
|
|
Posix says we should execute the command as if run by system(3)
|
|
|
|
Expect 'Hello,' and 'World!'
|
|
|
|
Hello,
|
|
|
|
World!
|
|
|
|
a command
|
|
|
|
a command prefixed by '+' executes even with -n
|
|
|
|
another command
|
|
|
|
make -n
|
|
|
|
echo a command
|
|
|
|
echo "a command prefixed by '+' executes even with -n"
|
|
|
|
a command prefixed by '+' executes even with -n
|
|
|
|
echo another command
|
|
|
|
make -n -j1
|
|
|
|
{ echo a command
|
|
|
|
} || exit $?
|
|
|
|
echo "a command prefixed by '+' executes even with -n"
|
|
|
|
a command prefixed by '+' executes even with -n
|
|
|
|
{ echo another command
|
|
|
|
} || exit $?
|
|
|
|
Now we expect an error...
|
|
|
|
*** Error code 1 (continuing)
|
|
|
|
`all' not remade because of errors.
|
2021-01-14 01:24:34 +00:00
|
|
|
|
|
|
|
Stop.
|
|
|
|
make: stopped in unit-tests
|
|
|
|
exit status 1
|