freebsd-src/unit-tests/opt-debug-jobs.exp
Simon J. Gerraty 1b65f0bd2b Import bmake-20201117
o allow env var MAKE_OBJDIR_CHECK_WRITABLE=no to skip writable
  checks in InitObjdir.  Explicit .OBJDIR target always allows
  read-only directory.

o Fix building and unit-tests on non-BSD.

o More code cleanup and refactoring.

o More unit tests
2020-11-20 03:54:37 +00:00

28 lines
694 B
Plaintext

job_pipe -1 -1, maxjobs 1, tokens 1, compat 0
Job_TokenWithdraw(<pid>): aborting 0, running 0
(<pid>) withdrew token
echo ": expanded expression"
{ : expanded expression
} || exit $?
echo ": variable"
{ : variable
} || exit $?
echo ": 'single' and \"double\" quotes"
{ : 'single' and "double" quotes
} || exit $?
{ sleep 1
} || exit $?
Running all
Command: sh
JobExec(all): pid <pid> added to jobs table
job table @ job started
job 0, status 3, flags 0, pid <pid>
: expanded expression
: variable
: 'single' and "double" quotes
Process <pid> exited/stopped status 0.
JobFinish: <pid> [all], status 0
Job_TokenWithdraw(<pid>): aborting 0, running 0
(<pid>) withdrew token
exit status 0