summaryrefslogtreecommitdiff
path: root/libvxi11client/perlbits/VXI11-Client.t
diff options
context:
space:
mode:
Diffstat (limited to 'libvxi11client/perlbits/VXI11-Client.t')
-rw-r--r--libvxi11client/perlbits/VXI11-Client.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvxi11client/perlbits/VXI11-Client.t b/libvxi11client/perlbits/VXI11-Client.t
index 691a6bb..f2e74b1 100644
--- a/libvxi11client/perlbits/VXI11-Client.t
+++ b/libvxi11client/perlbits/VXI11-Client.t
@@ -21,7 +21,7 @@ BEGIN { use_ok('VXI11::Client') };
my $instr = &VXI11::Client::open("roi", 0);
is($instr->lock(0), 1, "Lock");
-is($instr->write("*IDN?", 6, 0, 0), 6, "Write");
+ok($instr->write("*IDN?", -1, 0, 0) > 0, "Write");
ok($instr->readstatusbyte(0) >= 0 , "Read status byte");
is($instr->create_intr_chan(), 1, "Create intr channel");
is($instr->enable_srq(1, "myhandle"), 1, "Enable interrupts");