fix subdirectory path in start.pl

This commit is contained in:
Scott Mann
2011-10-10 19:29:40 +00:00
parent 3f91210cb6
commit 48a46376cc
+6 -2
View File
@@ -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 {