3 # $Header: op.magic,v 1.0 87/12/18 13:13:54 root Exp $
7 $| = 1; # command buffering
9 $ENV{'foo'} = 'hi there';
10 if (`echo \$foo` eq "hi there\n") {print "ok 1\n";} else {print "not ok 1\n";}
13 open(foo,'ajslkdfpqjsjfkslkjdflksd');
14 if ($! == 2) {print "ok 2\n";} else {print "not ok 2\n";}
18 $SIG{'INT'} = 'IGNORE';
21 $SIG{'INT'} = 'DEFAULT';
26 print "ok 3\n" if pop(@_) eq 'INT';