summaryrefslogtreecommitdiff
path: root/tests/dstack2.tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dstack2.tests')
-rw-r--r--tests/dstack2.tests3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/dstack2.tests b/tests/dstack2.tests
index d902bffb..3aa105b3 100644
--- a/tests/dstack2.tests
+++ b/tests/dstack2.tests
@@ -1,3 +1,4 @@
+wdir=$PWD
cd /
echo expect '~1'
@@ -31,3 +32,5 @@ dirs -v -1
echo these lines should be the same
dirs -0
echo ~-0 ${DIRSTACK[NDIRS]}
+
+cd "$wdir"