fix path encoding (#60).
[clive.git] / t / 13error.t
blob0b3d803d023412a1c67bb34fc5e5c2b7b580e4f3
1 #!/usr/bin/env perl -I./t/lib
3 use warnings;
4 use strict;
6 use Test::More tests => 1;
8 my $clive = "perl -I./blib/lib blib/script/clive -q";
9 my $cmd = "$clive http://nosupport";
10 my $output = qx($cmd);
12 my $rc = $? >> 8;
13 ok( $rc == 2 )
14 or diag "$cmd\nexpected return code 2 (got $rc)";