File: shell_command.t

package info (click to toggle)
libshell-command-perl 0.06-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 120 kB
  • sloc: perl: 68; makefile: 2
file content (14 lines) | stat: -rw-r--r-- 181 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/perl -w

use Test::More tests => 6;

BEGIN { use_ok 'Shell::Command'; }

chdir 't';

ok !test_f "foo";
ok touch "foo";
ok test_f "foo";
ok rm_f "foo";
ok !test_f "foo";