You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
459 B
18 lines
459 B
4 years ago
|
#!/bin/sh
|
||
|
|
||
|
echo "SLPParseSrvURL"
|
||
|
rm -f SLPParseSrvURL.actual.output
|
||
|
scriptdir=${srcdir}/SLPParseSrvURL
|
||
|
|
||
|
(
|
||
|
./testslpparsesrvurl service:test://10.0.0.1
|
||
|
echo
|
||
|
./testslpparsesrvurl service:test1:test2://10.0.0.1:80
|
||
|
echo
|
||
|
./testslpparsesrvurl service:test://10.0.0.1:80/foo/goo
|
||
|
echo
|
||
|
./testslpparsesrvurl service:test://10.0.0.1/foo/goo
|
||
|
) > SLPParseSrvURL.actual.output
|
||
|
|
||
|
diff -c ${scriptdir}/SLPParseSrvURL.expected.output SLPParseSrvURL.actual.output
|