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)
|
|
|
|
|
2013-06-27 14:45:45 -04:00
|
|
|
for shell in dash bash ksh zsh; do
|
2013-06-27 14:33:16 -04:00
|
|
|
if which $shell > /dev/null 2> /dev/null; then
|
|
|
|
echo
|
|
|
|
echo Running urchin tests in $shell
|
2016-01-29 12:19:14 -05:00
|
|
|
$shell urchin -s $shell tests | tail -n 4
|
2013-06-27 14:33:16 -04:00
|
|
|
else
|
|
|
|
echo
|
|
|
|
echo Skipping $shell because it is not in the PATH
|
|
|
|
fi
|
|
|
|
done
|
2013-06-27 14:44:19 -04:00
|
|
|
echo
|