summaryrefslogtreecommitdiff
path: root/sql-bench/test-ATIS.sh
diff options
context:
space:
mode:
authorlenz@mysql.com <>2003-09-25 23:12:24 +0200
committerlenz@mysql.com <>2003-09-25 23:12:24 +0200
commite92c823c8d57e9c344a7a7a288c5d5247b29c6e2 (patch)
treeaf2612c92998500db3b06f89f20ab16c1ac57a4a /sql-bench/test-ATIS.sh
parente4c7496c141ad9990a42121bcdd53eb22e90df2f (diff)
downloadmariadb-git-e92c823c8d57e9c344a7a7a288c5d5247b29c6e2.tar.gz
- Improved portability of the sql-bench Perl scripts by replacing
the calls of external programs "uname" and "pwd" with Perl builtin functions "cwd()" and "POSIX::uname()"
Diffstat (limited to 'sql-bench/test-ATIS.sh')
-rw-r--r--sql-bench/test-ATIS.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql-bench/test-ATIS.sh b/sql-bench/test-ATIS.sh
index ac3d7360198..1f11f4319b5 100644
--- a/sql-bench/test-ATIS.sh
+++ b/sql-bench/test-ATIS.sh
@@ -24,12 +24,13 @@
# - skip a couple of the tests in Q4 that Oracle doesn't understand
################### Standard benchmark inits ##############################
+use Cwd;
use DBI;
use Benchmark;
$opt_loop_count=100; # Run selects this many times
-chomp($pwd = `pwd`); $pwd = "." if ($pwd eq '');
+$pwd = cwd(); $pwd = "." if ($pwd eq '');
require "$pwd/bench-init.pl" || die "Can't read Configuration file: $!\n";
if ($opt_small_test)