1 #!/usr/local/bin/perl -w
11 my $proc_file = "/proc/$$/auxv" ;
15 unless ( -r $proc_file ) {
17 skip "can't find pseudo file $proc_file", 1 ;
23 sub test_pseudo_file {
25 my $data_do = do{ local( @ARGV, $/ ) = $proc_file; <> } ;
27 #print "LEN: ", length $data_do, "\n" ;
29 my $data_slurp = read_file( $proc_file ) ;
30 #print "LEN2: ", length $data_slurp, "\n" ;
31 #print "LEN3: ", -s $proc_file, "\n" ;
33 is( $data_do, $data_slurp, 'pseudo' ) ;