miniupnp/miniupnpc/testupnpreplyparse.sh

17 lines
254 B
Bash
Executable File

#!/bin/sh
TESTUPNPREPLYPARSE=./build/testupnpreplyparse
for f in testreplyparse/*.xml ; do
bf="`dirname $f`/`basename $f .xml`"
if $TESTUPNPREPLYPARSE $f $bf.namevalue ; then
echo "$f : passed"
else
echo "$f : FAILED"
exit 1
fi
done
exit 0