diff options
| author | Andrew Stitcher <astitcher@apache.org> | 2008-07-29 20:25:49 +0000 |
|---|---|---|
| committer | Andrew Stitcher <astitcher@apache.org> | 2008-07-29 20:25:49 +0000 |
| commit | e051ae35c30c2530fafd5c3855e1cb67e5252593 (patch) | |
| tree | 95067795a6555df928049e60938c4a2bafb41e15 /qpid/cpp/src/tests/python_tests | |
| parent | a344e91b126c4923eadd3d2b0024d681e8570f70 (diff) | |
| download | qpid-python-e051ae35c30c2530fafd5c3855e1cb67e5252593.tar.gz | |
QPID-1198: (Partial) Fix test shell scripts to work with /bin/sh
Patches from Manuel Teira.
These scripts have #!/bin/sh but they were previously really
dependent on bash.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@680826 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/python_tests')
| -rwxr-xr-x | qpid/cpp/src/tests/python_tests | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/tests/python_tests b/qpid/cpp/src/tests/python_tests index 109d01bd5e..896692e41e 100755 --- a/qpid/cpp/src/tests/python_tests +++ b/qpid/cpp/src/tests/python_tests @@ -2,7 +2,7 @@ # Run the python tests. QPID_PORT=${QPID_PORT:-5672} PYTHON_TESTS=${PYTHON_TESTS:-$*} -MY_DIR=$(dirname $(which $0)) +MY_DIR=`dirname \`which $0\`` QPID_PYTHON_DIR=${QPID_PYTHON_DIR:-${MY_DIR}/../../../python} run() { |
