File: wce

package info (click to toggle)
asymptote 2.38-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 11,908 kB
  • ctags: 13,089
  • sloc: cpp: 60,286; ansic: 4,754; python: 3,909; sh: 3,363; perl: 1,563; lisp: 1,363; makefile: 606; yacc: 554; lex: 444
file content (11 lines) | stat: -rwxr-xr-x 219 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
printf "Testing errors..."
./asy -sysdir base -noautoplain -debug errortest 2> errors.temp
result=`diff errors.temp errors`
if test "$result" = ""; then
echo PASSED.
else
echo FAILED.
echo "$result"
exit 1
fi