diff options
author | Russ Allbery <rra@stanford.edu> | 2007-09-19 23:27:54 +0000 |
---|---|---|
committer | Russ Allbery <rra@stanford.edu> | 2007-09-19 23:27:54 +0000 |
commit | a5596f996b55be41659e32b6e5ec41d71d9c0d81 (patch) | |
tree | 3d696b62d74e6461a05ebbd9efff71c9fdead933 /perl | |
parent | ea872aef7300e333f5db9b3e7ed05d40f176a912 (diff) |
Redirect stderr from remctld to stdout so that it doesn't show up in
the test summary.
Diffstat (limited to 'perl')
-rwxr-xr-x | perl/t/keytab.t | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perl/t/keytab.t b/perl/t/keytab.t index b8b6a6b..7b9a067 100755 --- a/perl/t/keytab.t +++ b/perl/t/keytab.t @@ -119,6 +119,7 @@ sub spawn_remctld { if (not defined $pid) { die "cannot fork: $!\n"; } elsif ($pid == 0) { + open (STDERR, '>&STDOUT') or die "cannot redirect stderr: $!\n"; exec ($path, '-m', '-p', 14373, '-s', $principal, '-P', 'test-pid', '-f', 't/data/keytab.conf', '-S', '-F', '-k', $keytab) == 0 or die "cannot exec $path: $!\n"; |