File: test.sh

package info (click to toggle)
libcommoncpp2 1.7.3-1.1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 5,060 kB
  • ctags: 3,614
  • sloc: cpp: 27,934; sh: 9,842; ansic: 1,123; makefile: 228; 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