summaryrefslogtreecommitdiffstats
path: root/ctdb/tests
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2013-05-27 15:16:28 +1000
committerAmitay Isaacs <amitay@gmail.com>2013-05-28 14:24:16 +1000
commit7dca4420572ce43c6ca5a95c1eaa4d71c6a65198 (patch)
treebcb8f52b3bdadba9494493d8bc88849794cd1158 /ctdb/tests
parent7adf52e6b31ffc6323b1d78a8e5ad2c84cc64530 (diff)
downloadsamba-7dca4420572ce43c6ca5a95c1eaa4d71c6a65198.tar.gz
samba-7dca4420572ce43c6ca5a95c1eaa4d71c6a65198.tar.xz
samba-7dca4420572ce43c6ca5a95c1eaa4d71c6a65198.zip
tests/scripts: Delete unused $rows and $ww variables from run_tests
Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit 80b3cf2c652c6098390cdd0dbb3edc648f7df487)
Diffstat (limited to 'ctdb/tests')
-rwxr-xr-xctdb/tests/scripts/run_tests3
1 files changed, 0 insertions, 3 deletions
diff --git a/ctdb/tests/scripts/run_tests b/ctdb/tests/scripts/run_tests
index 13d211a7f0..a3af5cbbc1 100755
--- a/ctdb/tests/scripts/run_tests
+++ b/ctdb/tests/scripts/run_tests
@@ -140,9 +140,6 @@ tests_passed=0
tests_failed=0
summary=""
-rows=$(if tty -s ; then stty size ; else echo x 80 ; fi | sed -e 's@.* @@' -e 's@^0$@80@')
-ww=$((rows - 7))
-
if ! which mktemp >/dev/null 2>&1 ; then
# Not perfect, but it will do...
mktemp ()