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

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;