Debian Codegraph @

test1slave

raw
1 #!/usr/bin/perl
2
3 #print(STDOUT "hello1\n");
4 #print(STDERR "hello2\n");
5 #print(STDOUT "hello3\n");
6 #print(STDERR "hello4\n");
7 #print(STDOUT "hello5\n");
8 #print(STDERR "hello6\n");
9 for($i=0; $i<7; $i++) {
10 $stdout .= "this is a test of the stdout transmission system $i\n";
11 }
12 print("stdout size: ",length($stdout),"\n");
13 print(STDOUT $stdout);
14
15 for($i=0; $i<9; $i++) {
16 $stderr .= "this is a test of the stderr transmission system $i\n";
17 }
18 print("stderr size: ",length($stderr),"\n");
19 print(STDERR $stderr);
20
21 #$SIG{TERM} = sub { while(1) {}; };
22
23 #sleep(10);
24
25 while(<>) {
26 print("STDIN: $_");
27 }
28
29 #sleep(10);
30
31 #$SIG{ALRM} = sub {die "alarm!"};
32 # alarm(5);
33 #system("sleep 10");
34
35 exit(1);
36