4 use File::Temp qw/ tempdir /;
6 my $dir = tempdir(); # CLEANUP => 1 );
10 # Check exit status here
11 system("cd $dir; catalyst.pl TestApp");
13 # Fix paths / nl work on win32
14 chdir("$dir/TestApp/");
17 # Ok, this is lame.. Also, check +x permissions?
22 lib/TestApp/Controller/Root.pm
28 root/static/images/catalyst_logo.png
29 root/static/images/btn_120x50_built.png
30 root/static/images/btn_120x50_built_shadow.png
31 root/static/images/btn_120x50_powered.png
32 root/static/images/btn_120x50_powered_shadow.png
33 root/static/images/btn_88x31_built.png
34 root/static/images/btn_88x31_built_shadow.png
35 root/static/images/btn_88x31_powered.png
36 root/static/images/btn_88x31_powered_shadow.png
40 script/testapp_fastcgi.pl
41 script/testapp_server.pl
42 script/testapp_test.pl
43 script/testapp_create.pl
46 plan 'tests' => scalar @files;
48 foreach my $fn (@files) {
49 ok -r $fn, "Have $fn in generated app";