hamncheese/n2n/thirdparty/miniupnp/miniupnpc/testupnpreplyparse.sh
2023-09-14 21:50:26 -05:00

16 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