summaryrefslogtreecommitdiff
path: root/libvxi11client/perlbits
diff options
context:
space:
mode:
authordaniel <danieruru@gmail.com>2013-01-25 23:13:08 +0900
committerdaniel <danieruru@gmail.com>2013-01-25 23:13:08 +0900
commit67801485ab5a9e4509d2bb2cdd9454ee4ed1ab11 (patch)
treefb44cf1cc418f6511ad5106ae2fa1db73668f103 /libvxi11client/perlbits
parente3d04285a9460a8ab13e9725fc2febf1be63a4d9 (diff)
fix docmd
Diffstat (limited to 'libvxi11client/perlbits')
-rw-r--r--libvxi11client/perlbits/VXI11-Client.t5
1 files changed, 3 insertions, 2 deletions
diff --git a/libvxi11client/perlbits/VXI11-Client.t b/libvxi11client/perlbits/VXI11-Client.t
index 8a09a55..96d030b 100644
--- a/libvxi11client/perlbits/VXI11-Client.t
+++ b/libvxi11client/perlbits/VXI11-Client.t
@@ -8,7 +8,7 @@
use strict;
use warnings;
-use Test::More tests => 16;
+use Test::More tests => 17;
BEGIN { use_ok('VXI11::Client') };
#########################
@@ -41,7 +41,8 @@ is($instr->vxi_clear(), 1, "Clear");
is($instr->vxi_trigger(), 1, "Trigger");
is($instr->vxi_local(), 1, "Local");
is($instr->vxi_remote(), 1, "Remote");
-#ok($instr->vxi_docmd(1) < 1, "docmd"); #this should fail on the bb server
+my ($ret, $dataout, $dataoutlen) = $instr->vxi_docmd(1);
+ok($ret < 1, "docmd"); #this should fail on the bb server
is($instr->vxi_unlock(), 1, "Unlock");
is($instr->vxi_close(), 1, "Close");