projects
/
scpubgit/Object-Remote.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
859f445
)
add stderr output to local sudo test since that did crash things
Matt S Trout [Mon, 4 Jun 2012 16:41:58 +0000 (16:41 +0000)]
xt/lib/TestFindUser.pm
patch
|
blob
|
blame
|
history
xt/local-sudo.t
patch
|
blob
|
blame
|
history
diff --git
a/xt/lib/TestFindUser.pm
b/xt/lib/TestFindUser.pm
index
8f1133c
..
9b94628
100644
(file)
--- 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
(file)
--- 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;