File: rman-test

package info (click to toggle)
rman 3.2-9
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 1,152 kB
  • sloc: ansic: 3,607; perl: 451; sh: 334; makefile: 77
file content (13 lines) | stat: -rwxr-xr-x 294 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/dash
rman -f html rman.1 > rman_test.html
DIFFRESULT=`diff rman_test.html debian/autotest/rman.html`
if [ "$DIFFRESULT" != "" ]; then
	rm rman_test.html
  echo "$DIFFRESULT"
	echo 'Regression test is failed!'
	exit 1
else
	rm rman_test.html
	echo 'Regression test is PASSED!'
	exit 0
fi