From: Matt S Trout Date: Mon, 4 Jun 2012 16:41:58 +0000 (+0000) Subject: add stderr output to local sudo test since that did crash things X-Git-Tag: v0.001001~31 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b10f7b24841937ce24963e8185af3b418c1eebfd;p=scpubgit%2FObject-Remote.git add stderr output to local sudo test since that did crash things --- diff --git a/xt/lib/TestFindUser.pm b/xt/lib/TestFindUser.pm index 8f1133c..9b94628 100644 --- a/xt/lib/TestFindUser.pm +++ b/xt/lib/TestFindUser.pm @@ -3,4 +3,6 @@ use Moo; sub user { $< } +sub send_err { print STDERR "Foo\n"; } + 1; diff --git a/xt/local-sudo.t b/xt/local-sudo.t index c1f3d3a..b7e28c0 100644 --- a/xt/local-sudo.t +++ b/xt/local-sudo.t @@ -23,4 +23,6 @@ my $remote_user = $remote->user; like $remote_user, qr/^\d+$/, 'returned an int'; isnt $remote_user, $<, 'ran as different user'; +$remote->send_err; + done_testing;