2013-05-14 21:08:15 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2022-10-21 20:45:46 +00:00
|
|
|
if [ -z "$TESTUPNPREPLYPARSE" ] ; then
|
|
|
|
TESTUPNPREPLYPARSE=./build/testupnpreplyparse
|
|
|
|
fi
|
2021-08-11 14:53:35 +00:00
|
|
|
|
2013-05-14 21:08:15 +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
|
2013-05-14 21:08:15 +00:00
|
|
|
echo "$f : passed"
|
|
|
|
else
|
|
|
|
echo "$f : FAILED"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
|
|
|
|
exit 0
|