aboutsummaryrefslogtreecommitdiffstats
path: root/debian/tests/basic-operation
blob: 17049aea8ca2a7e1bc537ad7091bb5de87d5e471 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/perl
use Test::Script tests => 5;

script_compiles('inxi', "script compiles");
script_runs(['inxi', '--full'], "full output");
script_runs(['inxi', '--version'], "version check");
script_runs(['inxi', '--update'], { exit => 20 }, "update disabled");
script_runs(['inxi', '--kvack'], { exit => 22 }, "unsupported option");

done_testing;