mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-14 17:01:07 +00:00
18 lines
296 B
Bash
18 lines
296 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
if [ -z "$TESTUPNPREPLYPARSE" ] ; then
|
||
|
TESTUPNPREPLYPARSE=./build/testupnpreplyparse
|
||
|
fi
|
||
|
|
||
|
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
|