Skip to content

Commit

Permalink
test: don't use /tmp for now in testing
Browse files Browse the repository at this point in the history
  • Loading branch information
reubeno committed Sep 26, 2024
1 parent b1d85e7 commit 99c0926
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions brush-shell/tests/cases/builtins/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ cases:
echo $?
echo "pwd: $PWD"
echo "cd tmp"
cd tmp
echo "cd usr"
cd usr
echo $?
echo "pwd: $PWD"
Expand Down
6 changes: 3 additions & 3 deletions brush-shell/tests/cases/builtins/pushd_popd_dirs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,16 @@ cases:
- name: "dirs with tilde replacement"
stdin: |
HOME=/tmp
HOME=/usr
cd ~
echo "PWD: $PWD"
dirs
dirs -l
- name: "dirs to clear"
stdin: |
cd /tmp
pushd /tmp
cd /usr
pushd /usr
pushd /
dirs -c
dirs
2 changes: 1 addition & 1 deletion brush-shell/tests/cases/builtins/pwd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ cases:
pwd
echo "Result: $?"
#
cd tmp
cd usr
pwd
echo "Result: $?"
2 changes: 1 addition & 1 deletion brush-shell/tests/cases/prompt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ cases:
- name: "Working dir based prompts"
stdin: |
cd /tmp
cd /usr
prompt='\w '
echo "Prompt: '${prompt@P}'"
Expand Down

0 comments on commit 99c0926

Please sign in to comment.