head 1.1; branch 1.1.1; access ; symbols ePerl_2_2_14:1.1.1.1 RSE:1.1.1; locks ; strict; comment @# @; 1.1 date 99.05.02.14.43.40; author rse; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 99.05.02.14.43.40; author rse; state Exp; branches ; next ; desc @@ 1.1 log @Initial revision @ text @ require "TEST.pl"; &TEST::init; print "1..2\n"; # setup test files $testfile1 = &TEST::tmpfile_with_name("file1", <<"EOT"); foo #include file2 quux EOT $testfile2 = &TEST::tmpfile_with_name("file2", <<"EOT"); bar1 #include bar3 EOT $testfile3 = &TEST::tmpfile_with_name("file3", <<"EOT"); bar2 EOT $testfile4 = &TEST::tmpfile(<<"EOT"); foo bar1 bar2 bar3 quux EOT $x = $testfile2; $x = $testfile3; $tempfile5 = &TEST::tmpfile; $rc = &TEST::system("../eperl -P $testfile1 >$tempfile5"); print ($rc == 0 ? "ok\n" : "not ok\n"); $rc = &TEST::system("cmp $testfile4 $tempfile5"); print ($rc == 0 ? "ok\n" : "not ok\n"); &TEST::cleanup; @ 1.1.1.1 log @Import of ePerl 2.2.14 @ text @@