/usr/share/doc/libsysadm-install-perl/examples/tap is in libsysadm-install-perl 0.44-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | #!/usr/bin/perl
###########################################
# taptest
# Mike Schilli, 2004 (m@perlmeister.com)
###########################################
use warnings;
use strict;
use Sysadm::Install qw(:all);
use Log::Log4perl qw(:easy);
Log::Log4perl->easy_init($DEBUG);
my($stdout, $stderr, $exit_code) = tap(qw(
rsync --verbose --archive tmp /tmp/rsync-tmp
));
print "stdout=[$stdout]\n";
print "stderr=[$stderr]\n";
print "exit_code=[$exit_code]\n";
|