X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/4729ff0812c1f3d06d98524e2fec232d3bf90513..4ac930380b434fcbe1fbfa29f474591cf4bebf69:/t/meta.t?ds=sidebyside diff --git a/t/meta.t b/t/meta.t index 3b26ee7d2..7f26a957b 100755 --- a/t/meta.t +++ b/t/meta.t @@ -28,11 +28,11 @@ push @command, $srcdir, $destdir; sub write_build_read_compare { my ($pagename, $input, $expected_output) = @_; + ok(! system("rm -rf $tmp"), q{setup}); ok(! system("mkdir -p $srcdir"), q{setup}); writefile("$pagename.mdwn", $srcdir, $input); ok(! system(@command), q{build}); like(readfile("$destdir/$pagename/index.html"), $expected_output); - ok(! system("rm -rf $tmp"), q{teardown}); } write_build_read_compare( @@ -65,12 +65,6 @@ write_build_read_compare( qr{