dba7b0ef92
Changes of interest o unit-tests: use private TMPDIR to avoid errors from other users o avoid strdup in mkTempFile o always use vfork o job.c: do not create empty shell files in jobs mode reduce unnecessary calls to waitpid o cond.c: fix debug output for comparison operators in conditionals
24 lines
447 B
Plaintext
24 lines
447 B
Plaintext
make: "cond1.mk" line 80: warning: extra else
|
|
make: "cond1.mk" line 90: warning: extra else
|
|
2 is prime
|
|
A='other' B='unknown' C='clever' o='no,no'
|
|
Passed:
|
|
var
|
|
("var")
|
|
(var != var)
|
|
var != var
|
|
!((var != var) && defined(name))
|
|
var == quoted
|
|
|
|
1 is not prime
|
|
2 is prime
|
|
3 is prime
|
|
4 is not prime
|
|
5 is prime
|
|
|
|
make: String comparison operator must be either == or !=
|
|
make: Bad conditional expression `"0" > 0' in "0" > 0?OK:No
|
|
|
|
OK
|
|
exit status 0
|