File: testzlib.run

package info (click to toggle)
camlzip 1.13-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 328 kB
  • sloc: ml: 1,244; ansic: 171; sh: 121; makefile: 101
file content (8 lines) | stat: -rw-r--r-- 204 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
#!/bin/sh

t1=`mktemp`
t2=`mktemp`
if ./testzlib testzlib.ml $t1 && ./testzlib -d $t1 $t2 && cmp $t2 testzlib.ml
then rm -f $t1 $t2; echo "Zlib: passed"
else rm -f $t1 $t2; echo "Zlib: FAILED"; exit 2
fi