cross-shell test runner in runtests
This commit is contained in:
parent
d9902c0b11
commit
91a4467f3e
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.urchin_stdout
|
14
runtests
Executable file
14
runtests
Executable file
@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
# Run urchin in a bunch of different shells,
|
||||
# including a shell that isn't quite POSIX-compatible (zsh)
|
||||
|
||||
for shell in dash bash ksh oksh pdksh zsh; do
|
||||
if which $shell > /dev/null 2> /dev/null; then
|
||||
echo
|
||||
echo Running urchin tests in $shell
|
||||
$shell urchin tests | tail -n 2
|
||||
else
|
||||
echo
|
||||
echo Skipping $shell because it is not in the PATH
|
||||
fi
|
||||
done
|
Loading…
Reference in New Issue
Block a user