summaryrefslogtreecommitdiff
path: root/tests/isip.pl
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-12-21 10:48:21 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-12-21 10:48:21 -0800
commita08ee2271d2166fc8013cee8ebeddd9fb0987283 (patch)
treeeed51afb5e28931600e0b2b5107d6e4ff484a1c2 /tests/isip.pl
parentcc61e5b207f090d5032c49bc5e27f1528250fff6 (diff)
downloadvyatta-cfg-a08ee2271d2166fc8013cee8ebeddd9fb0987283.tar.gz
vyatta-cfg-a08ee2271d2166fc8013cee8ebeddd9fb0987283.zip
Move tests to vyatta-cfg-system
Diffstat (limited to 'tests/isip.pl')
-rw-r--r--tests/isip.pl23
1 files changed, 0 insertions, 23 deletions
diff --git a/tests/isip.pl b/tests/isip.pl
deleted file mode 100644
index 35a04b7..0000000
--- a/tests/isip.pl
+++ /dev/null
@@ -1,23 +0,0 @@
-#! /usr/bin/perl
-
-# Standalone test for Vyatta::Misc::isIPInterfaces
-
-use strict;
-use warnings;
-use Vyatta::Misc;
-use Vyatta::Interface;
-
-my $vc;
-my @interfaces = getInterfaces();
-print "Interfaces: ", join(' ',@interfaces),"\n";
-
-foreach my $lip (@ARGV) {
- print $lip, " is";
- if (Vyatta::Misc::isIPinInterfaces($vc, $lip, @interfaces)) {
- print " in\n";
- } else {
- print " not in\n";
- }
-}
-
-exit 0;