| 1 | #!/usr/bin/perl | ||
| 2 | # test script for 23-methods, executed in test directory | ||
| 3 | 1 | my $testnum = '23-methods'; | |
| 4 | 1 | my $testfilesdir = "../../testfiles/$testnum"; | |
| 5 | 1 | my $insource = "$testfilesdir/test1.in"; my $inorig = "test1.in"; | |
| 6 | 1 | my $procfile = "test1.txt"; my $outNew = $procfile; | |
| 7 | 1 | my $outsource = "$testfilesdir/test1.out"; | |
| 8 | 1 | my $outExpected = "test1.out-expected"; | |
| 9 | 1 | mycopy($insource, $inorig); | |
| 10 | 1 | mycopy($insource, $procfile); | |
| 11 | 1 | my @sfishArgs = ( $procfile ); | |
| 12 | 1 | starfish_cmd( @sfishArgs); | |
| 13 | 1 | mycopy($outsource, $outExpected); | |
| 14 | 1 | comparefiles($outExpected, $outNew); | |
| 15 | |||
| 16 | 1 | 1; | |
| 17 |