File: testupnpreplyparse.sh

package info (click to toggle)
miniupnpc 2.3.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 992 kB
  • sloc: ansic: 7,885; makefile: 325; xml: 207; python: 170; sh: 161; java: 89
file content (17 lines) | stat: -rwxr-xr-x 296 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/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