miniupnp/miniupnpc/testupnpreplyparse.sh

18 lines
296 B
Bash
Raw Permalink Normal View History

#!/bin/sh
if [ -z "$TESTUPNPREPLYPARSE" ] ; then
TESTUPNPREPLYPARSE=./build/testupnpreplyparse
fi
2021-08-11 14:53:35 +00:00
for f in testreplyparse/*.xml ; do
bf="`dirname $f`/`basename $f .xml`"
2021-08-11 14:53:35 +00:00
if $TESTUPNPREPLYPARSE $f $bf.namevalue ; then
echo "$f : passed"
else
echo "$f : FAILED"
exit 1
fi
done
exit 0