6 use Test::More tests => 3;
8 ## find out where catalyst.pl is
9 my $cat = `which catalyst.pl`;
12 ## remove any existing test apps
13 is system("rm -rf $Bin/../TestAppForComparison"), 0 or BAIL_OUT;
15 ## create a new test app to compare to
16 is system("cd $Bin/../; $^X -I$Bin/../lib $cat TestAppForComparison"), 0 or BAIL_OUT;
22 $diff = `diff -urN -x .svn -x Changes $Bin/TestAppForComparison $Bin/../TestAppForComparison`;
25 skip "no diff program installed, skipping", 1 if $@;
27 ok !length($diff), 'Generated same TestApp', or warn($diff);