Subject: | owner test is broken |
Attached patch fix the test.
--- t/owner.t 2005-12-26 03:02:43.000000000 +0100
+++ t/owner.t.new 2005-12-29 10:39:08.000000000 +0100
@@ -57,10 +57,8 @@
my $name = 'Intentional owner_is failure';
test_out( "not ok 1 - $name");
test_diag(
- "File [$filename] belongs to $owner_name ($owner_uid), not $other_name " .
- "($other_uid)\n" .
- "# Failed test '$name'\n".
- "# in t/owner.t at line " . line_num(+6) . "."
+ "File [$filename] belongs to $owner_name ($owner_uid), not $other_name ($other_uid)",
+ " Failed test (t/owner.t at line " . line_num(+4) . ")"
);
owner_is( $filename, $other_name, $name );
test_test( $name );
@@ -69,9 +67,8 @@
test_out( "not ok 1 - $name");
test_diag(
- "File [$filename] belongs to $owner_name ($owner_uid)\n" .
- "# Failed test '$name'\n" .
- "# in t/owner.t at line " . line_num(+5) . "."
- );
+ "File [$filename] belongs to $owner_name ($owner_uid)",
+ " Failed test (t/owner.t at line " . line_num(+4) . ")"
+);
owner_isnt( $filename, $owner_name, "Intentional owner_isnt failure" );
-test_test( "Intentional owner_isnt failure");
\ No newline at end of file
+test_test( "Intentional owner_isnt failure");