File: test.sh

package info (click to toggle)
libcommoncpp2 1.8.1-10
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 5,300 kB
  • sloc: cpp: 29,221; sh: 10,352; ansic: 1,134; makefile: 238; 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