use
strict;
use
warnings;
use
Test::More;
use
Data::Dumper;
use
NBI::Slurm;
use
File::Basename;
# Win32?
if
($^O eq
'MSWin32'
) {
plan
skip_all
=>
"Skipping all tests: scripts not supported on Windows"
;
}
# Try executing the scripts in bin to see if at least they run with --version
for
my
$bin
(
glob
"$RealBin/../bin/*"
) {
my
$base
= basename(
$bin
);
ok(-e
$bin
,
"$base exists at $bin"
);
ok(-x
$bin
,
"$base is executable"
);
}
done_testing();