fix subdirectory path in start.pl
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
# PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
# $Id: start.pl,v 1.13.396.8 2011/10/10 18:53:48 smann Exp $
|
||||
# $Id: start.pl,v 1.13.396.9 2011/10/10 19:29:40 smann Exp $
|
||||
|
||||
# Framework for starting test servers.
|
||||
# Based on the type of server specified, check for port availability, remove
|
||||
@@ -132,7 +132,8 @@ sub start_server {
|
||||
my $cleanup_files;
|
||||
my $command;
|
||||
my $pid_file;
|
||||
my $args_file = getcwd() . "/" . $test . "/" . $server . "/" . "named.args";
|
||||
my $cwd = getcwd();
|
||||
my $args_file = $cwd . "/" . $test . "/" . $server . "/" . "named.args";
|
||||
|
||||
if ($server =~ /^ns/) {
|
||||
$cleanup_files = "{*.jnl,*.bk,*.st,named.run}";
|
||||
@@ -225,6 +226,9 @@ sub start_server {
|
||||
}
|
||||
sleep 1;
|
||||
}
|
||||
|
||||
# go back to the top level directory
|
||||
chdir $cwd;
|
||||
}
|
||||
|
||||
sub verify_server {
|
||||
|
||||
Reference in New Issue
Block a user