File: 04-exercise.t

package info (click to toggle)
libgetopt-complete-perl 0.26-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 504 kB
  • sloc: perl: 1,068; makefile: 2
file content (14 lines) | stat: -rw-r--r-- 213 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env perl
use strict;
use warnings;
use Test::More tests => 1;
use FindBin;

my $path = $FindBin::Bin . '/myprogram';
ok(-e $path, "found the test program ($path)");

$ENV{GETOPT_COMPLETE} = 'bash';