aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-11-02 11:30:30 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-11-02 11:30:30 -0400
commitf9ff852d66c16e541bd43c4d3680314581477036 (patch)
treeb5a564d58c14aad5280ba8f348834c7cab92c62e /tests
parent31e48a44e199e8a29078622253dc1697af982cdd (diff)
downloadstasis-f9ff852d66c16e541bd43c4d3680314581477036.tar.gz
Squelch shell's pushd/popd commands
Diffstat (limited to 'tests')
-rw-r--r--tests/setup.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/setup.sh b/tests/setup.sh
index 3fda829..50209ae 100644
--- a/tests/setup.sh
+++ b/tests/setup.sh
@@ -24,6 +24,14 @@ setup_script_dir="$(dirname ${BASH_SOURCE[0]})"
export TOPDIR=$(pwd)
export TEST_DATA="$TOPDIR"/data
+pushd() {
+ command pushd "$@" 1>/dev/null
+}
+
+popd() {
+ command popd 1>/dev/null
+}
+
WS_DEFAULT="workspaces/rt_workspace_"
setup_workspace() {
if [ -z "$1" ]; then