File: package.t

package info (click to toggle)
pkg-order 1.02
  • links: PTS
  • area: main
  • in suites: hamm, slink
  • size: 484 kB
  • ctags: 172
  • sloc: perl: 4,094; makefile: 81
file content (20 lines) | stat: -rw-r--r-- 326 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#! /usr/bin/perl
print "1..1\n";
my $output = `/usr/bin/perl  t/t_package.pl > t/output.package`;

if ($output || $?) {
  print "not ok 1";
  exit $output;
}

$output = `cmp t/package.out t/output.package >& /dev/null`;

if ($output || $?) {
  print "not ok 1";
  exit $?;
}

print "ok 1";
unlink "t/output.package";
exit 0;