diff --git a/tests/occ/test.sh b/tests/occ/test.sh index 9145ffc..3a80a69 100755 --- a/tests/occ/test.sh +++ b/tests/occ/test.sh @@ -21,7 +21,7 @@ rlJournalStart rlAssertExists "$installdir" rlAssertExists "$datadir" # switch to installdir to run occ - rlRun "cd $installdir" 0 "Switch to nextcloud directory" + rlRun "pushd $installdir" 0 "Switch to nextcloud directory" rlPhaseEnd # run tests