| 1 |
Remove version number from perltest output so we can diff the output against a |
| 2 |
static expected output file. |
| 3 |
|
| 4 |
--- a/bindings/perltest.pl |
| 5 |
+++ b/bindings/perltest.pl |
| 6 |
@@ -2,7 +2,8 @@ |
| 7 |
|
| 8 |
use Hamlib; |
| 9 |
|
| 10 |
-print "Perl $] test, version: $Hamlib::hamlib_version\n\n"; |
| 11 |
+# Debian: removed so the output doesn't depend on version numbers |
| 12 |
+#print "Perl $] test, version: $Hamlib::hamlib_version\n\n"; |
| 13 |
|
| 14 |
#Hamlib::rig_set_debug($Hamlib::RIG_DEBUG_TRACE); |
| 15 |
Hamlib::rig_set_debug($Hamlib::RIG_DEBUG_NONE); |
| 16 |
@@ -50,8 +51,9 @@ $rig->set_level($Hamlib::RIG_LEVEL_VOXDE |
| 17 |
$lvl = $rig->get_level_i($Hamlib::RIG_LEVEL_VOXDELAY); |
| 18 |
print "VOX delay:\t\t$lvl\n"; |
| 19 |
|
| 20 |
-$lvl = $rig->get_level_i($Hamlib::RIG_LEVEL_STRENGTH); |
| 21 |
-print "strength:\t\t$lvl\n"; |
| 22 |
+# Debian: removed because output is unstable |
| 23 |
+#$lvl = $rig->get_level_i($Hamlib::RIG_LEVEL_STRENGTH); |
| 24 |
+#print "strength:\t\t$lvl\n"; |
| 25 |
|
| 26 |
|
| 27 |
$chan = new Hamlib::channel($Hamlib::RIG_VFO_A); |