summaryrefslogtreecommitdiff
path: root/libvxi11client/perlbits
diff options
context:
space:
mode:
Diffstat (limited to 'libvxi11client/perlbits')
-rw-r--r--libvxi11client/perlbits/VXI11-Client.t2
-rw-r--r--libvxi11client/perlbits/testscript.pl4
2 files changed, 4 insertions, 2 deletions
diff --git a/libvxi11client/perlbits/VXI11-Client.t b/libvxi11client/perlbits/VXI11-Client.t
index 8ca167b..0ac3a46 100644
--- a/libvxi11client/perlbits/VXI11-Client.t
+++ b/libvxi11client/perlbits/VXI11-Client.t
@@ -18,7 +18,7 @@ BEGIN { use_ok('VXI11::Client') };
&VXI11::Client::vxi_startinterruptserver();
-my $instr = &VXI11::Client::vxi_open("roi", 0);
+my $instr = &VXI11::Client::vxi_open("192.168.0.62", 0);
is($instr->vxi_lock(0), 1, "Lock");
ok($instr->vxi_write("*IDN?", -1, 0, 0) > 0, "Write");
diff --git a/libvxi11client/perlbits/testscript.pl b/libvxi11client/perlbits/testscript.pl
index b487ab4..2f06434 100644
--- a/libvxi11client/perlbits/testscript.pl
+++ b/libvxi11client/perlbits/testscript.pl
@@ -1,3 +1,5 @@
+#!/usr/bin/perl
+
use strict;
use warnings;
@@ -5,7 +7,7 @@ use VXI11::Client;
&VXI11::Client::vxi_startinterruptserver();
-my $instr = &VXI11::Client::vxi_open("roi", 0);
+my $instr = &VXI11::Client::vxi_open("192.168.0.62", 0);
$instr->vxi_lock(0);
$instr->vxi_write("*IDN?", -1, 0, 0);