File: all-512.sh

package info (click to toggle)
cssc 0.14alpha.pl0-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 2,796 kB
  • ctags: 1,404
  • sloc: cpp: 12,927; sh: 3,617; ansic: 3,000; perl: 342; makefile: 334; awk: 11
file content (26 lines) | stat: -rwxr-xr-x 623 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#! /bin/sh
. ../common/test-common
export prt

remove s.testfile2
../../testutils/uu_decode --decode < s.testfile2.uue || miscarry could not uudecode testfile2.uue.

sh all-variations.txt 2>&1 >got.stdout | 
    grep -v "feature not fully tested: excluded delta"

remove all.expected

/bin/sh ../../testutils/decompress_stdin.sh <all.expected.Z >all.expected \
    || miscarry could not decompress expected output 

if diff all.expected got.stdout >/dev/null 
then
    remove all.expected s.testfile2
    success
else
    echo "output differs --"
    diff -c all.expected got.stdout | head -30
    fail output differs
fi