summaryrefslogtreecommitdiff
path: root/t/lib/safe2.t
diff options
context:
space:
mode:
Diffstat (limited to 't/lib/safe2.t')
-rwxr-xr-xt/lib/safe2.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/lib/safe2.t b/t/lib/safe2.t
index 586eace6a8..feaab16956 100755
--- a/t/lib/safe2.t
+++ b/t/lib/safe2.t
@@ -120,7 +120,8 @@ print $@ =~ /foo bar/ ? "ok 29\n" : "not ok 29\n";
my $t = 30;
$cpt->rdo('/non/existant/file.name');
print +(($! =~ /No such file/ || $! =~ /file specification syntax error/) ||
- $! =~ /A file or directory in the path name does not exist/ ?
+ $! =~ /A file or directory in the path name does not exist/ ||
+ $! =~ /Device not configured/ ?
"ok $t\n" : "not ok $t # $!\n"); $t++;
print 1 ? "ok $t\n" : "not ok $t\n#$@/$!\n"; $t++;