File: test.sh

package info (click to toggle)
libcommoncpp2 1.0.13-5
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 4,740 kB
  • ctags: 2,860
  • sloc: cpp: 18,857; sh: 8,451; ansic: 1,546; makefile: 299; xml: 5
file content (11 lines) | stat: -rwxr-xr-x 256 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

echo Executing all tests... please wait...
sh dotests.sh > testout.txt

if cmp testout.txt output.txt; then
	echo Test successfully
else
	echo 'Test failed :('
	echo 'Compare testout.txt (wrong) and output.txt (correct) for more information'
fi