When writing turly portable shell scripts, one would resort to use the POSIX compatible subset, sh. However, the assert.sh script uses some bashisms, so it will not work in POSIX-compatible mode.
Reproduce the issue by running:
sh assert.sh # Will complain about redirects; probably due to the use of <<<
When writing turly portable shell scripts, one would resort to use the POSIX compatible subset,
sh. However, theassert.shscript uses some bashisms, so it will not work in POSIX-compatible mode.Reproduce the issue by running: