BIND 10 trac614, updated. 5d246e92aef87505e9392274cacbabbd20478d3e [trac614] Remove bashisms

BIND 10 source code commits bind10-changes at lists.isc.org
Wed Mar 2 14:21:32 UTC 2011


The branch, trac614 has been updated
       via  5d246e92aef87505e9392274cacbabbd20478d3e (commit)
      from  ae0b20c57c48c4932b9aff2146f5d76f9eff5a90 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 5d246e92aef87505e9392274cacbabbd20478d3e
Author: Michal 'vorner' Vaner <michal.vaner at nic.cz>
Date:   Wed Mar 2 15:16:31 2011 +0100

    [trac614] Remove bashisms

-----------------------------------------------------------------------

Summary of changes:
 tools/tests_in_valgrind.sh |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

-----------------------------------------------------------------------
diff --git a/tools/tests_in_valgrind.sh b/tools/tests_in_valgrind.sh
index ef0299a..14e91ba 100755
--- a/tools/tests_in_valgrind.sh
+++ b/tools/tests_in_valgrind.sh
@@ -1,5 +1,4 @@
-#!/bin/bash
-# Yes, really bash, there are some bashisms
+#!/bin/sh
 
 ###########################################
 # This script runs all tests in valgrind. Configure and compile bind the way
@@ -44,14 +43,15 @@ eval $(find . -type f -name run_unittests -print | grep -v '\.libs/run_unittests
     chmod +x "$testname.valgrind"
     echo "$testname" >>"$LOGFILE"
     echo "===============" >>"$LOGFILE"
-    pushd $(dirname "$testname") >/dev/null
-    "./run_unittests.valgrind" >&2 &
+    OLDDIR="`pwd`"
+    cd $(dirname "$testname")
+    ./run_unittests.valgrind >&2 &
     PID="$!"
     set +e
     wait "$PID"
     CODE="$?"
     set -e
-    popd >/dev/null
+    cd "$OLDDIR"
     if [ "$CODE" != 0 ] ; then
         echo 'FAILED="$FAILED
 '"$testname"'"'




More information about the bind10-changes mailing list