mirror of https://framagit.org/bortzmeyer/echoping
Test framework for plugins
parent
aa0d8d6e03
commit
4a8f82f621
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
# $Id$
|
||||
|
||||
../../echoping -m whois -v whois.nic.fr --dump echoping.fr # Does not exist
|
||||
../../echoping -m whois -v whois.nic.fr --dump nic.fr # Exists
|
@ -0,0 +1,20 @@
|
||||
#!/bin/sh
|
||||
|
||||
# $Id$
|
||||
|
||||
echo ""
|
||||
echo "Since this tests tries remote servers, a failure is not always "
|
||||
echo " echoping's fault: it may be a network problem."
|
||||
echo ""
|
||||
|
||||
for plugin in `ls plugins`; do
|
||||
if [ -d plugins/$plugin ]; then
|
||||
cd plugins/$plugin
|
||||
if [ -x test.sh ]; then
|
||||
echo "Testing $plugin..."
|
||||
sh ./test.sh
|
||||
echo ""
|
||||
fi
|
||||
cd ../..
|
||||
fi
|
||||
done
|
Loading…
Reference in New Issue