urchin/runtests

15 lines
377 B
Plaintext
Raw Normal View History

2013-06-27 14:33:16 -04:00
#!/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