13e748d684
I'm on NixOS, so awk isn't in /usr/bin. I can search for it with /usr/bin/env, but then I can't use -f in the shebang line.
8 lines
314 B
Bash
Executable File
8 lines
314 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Tests the `-s <shell> option, which invokes shebang-less and sh-shebang-line test scripts with the specified shell (for testing *sourced* shell code).
|
|
|
|
which bash >/dev/null || { echo "Cannot test -s option: bash cannot be located." >&2; exit 2; }
|
|
|
|
../../urchin -s bash ./.test-run-by-specified-shell
|