aboutsummaryrefslogtreecommitdiffstats
path: root/libtests/qtest/closedfile.test
blob: 864f9c12d65cfe517388775c2df69acc522c13f8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env perl
require 5.008;
use warnings;
use strict;

chdir("closedfile") or die "chdir testdir failed: $!\n";

require TestDriver;

my $td = new TestDriver('closed_file_input_source');

$td->runtest("closed file input source",
             {$td->COMMAND => "closed_file_input_source"},
             {$td->FILE => "output", $td->EXIT_STATUS => 0},
             $td->NORMALIZE_NEWLINES);
$td->report(1);