mirror of
https://github.com/xroche/httrack.git
synced 2026-05-17 00:16:02 +03:00
21 lines
263 B
Bash
Executable File
21 lines
263 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
|
|
error=0
|
|
for i in *.test ; do
|
|
if bash $i ; then
|
|
echo "$i: passed" >&2
|
|
else
|
|
echo "$i: ERROR" >&2
|
|
error=$[${error}+1]
|
|
fi
|
|
done
|
|
|
|
if test "$error" -eq 0; then
|
|
echo "all tests passed" >&2
|
|
else
|
|
echo "${error} test(s) failed" >&2
|
|
fi
|
|
|
|
exit $error
|