File: perltest

package info (click to toggle)
hamlib 4.0-7
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 14,348 kB
  • sloc: ansic: 182,577; sh: 5,087; cpp: 1,481; perl: 875; makefile: 653; python: 145; awk: 58
file content (10 lines) | stat: -rwxr-xr-x 301 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

set -eu

trap "rm -f perltest.out" EXIT

perl /usr/share/doc/libhamlib-perl/examples/perltest.pl > perltest.out
diff -u debian/tests/perltest.out perltest.out || diff -u debian/tests/perltest.out32 perltest.out

# perltest.out32: Paper over a minor precision difference in dec2dms on i386.