mirror of
https://github.com/openappsec/openappsec.git
synced 2025-09-30 19:47:44 +03:00
First release of open-appsec source code
This commit is contained in:
23
external/yajl/test/api/run_tests.sh
vendored
Executable file
23
external/yajl/test/api/run_tests.sh
vendored
Executable file
@@ -0,0 +1,23 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo Running api tests:
|
||||
|
||||
tests=0
|
||||
passed=0
|
||||
|
||||
for file in `ls`; do
|
||||
[ ! -x $file -o -d $file ] && continue
|
||||
tests=`expr 1 + $tests`
|
||||
printf " test(%s): " $file
|
||||
./$file
|
||||
if [ $? ]; then
|
||||
passed=`expr 1 + $passed`
|
||||
echo 'SUCCESS'
|
||||
else
|
||||
echo 'FAILURE'
|
||||
fi
|
||||
done
|
||||
|
||||
echo "$passed/$tests tests successful"
|
||||
|
||||
exit 0
|
Reference in New Issue
Block a user