From 4a8d55cd7d27fcce6f4bedb6af48a7698a3be86e Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 4 Mar 2012 05:08:26 +0100 Subject: selftest: Remove unused vde functions. Autobuild-User: Jelmer Vernooij Autobuild-Date: Sun Mar 4 07:54:51 CET 2012 on sn-devel-104 --- selftest/selftest.pl | 25 ------------------------- 1 file changed, 25 deletions(-) (limited to 'selftest/selftest.pl') diff --git a/selftest/selftest.pl b/selftest/selftest.pl index 045f1b83f0..7328300909 100755 --- a/selftest/selftest.pl +++ b/selftest/selftest.pl @@ -387,31 +387,6 @@ unless ($opt_list) { } } -# -# Start a Virtual Distributed Ethernet Switch -# Returns the pid of the switch. -# -sub start_vde_switch($) -{ - my ($path) = @_; - - system("vde_switch --pidfile $path/vde.pid --sock $path/vde.sock --daemon"); - - open(PID, "$path/vde.pid"); - =~ /([0-9]+)/; - my $pid = $1; - close(PID); - - return $pid; -} - -# Stop a Virtual Distributed Ethernet Switch -sub stop_vde_switch($) -{ - my ($pid) = @_; - kill 9, $pid; -} - sub read_test_regexes($) { my ($name) = @_; -- cgit