Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

t9803-git-p4-shell-metachars.sh: update to use test_path_* functions #1691

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 6 additions & 6 deletions t/t9803-git-p4-shell-metachars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ test_expect_success 'shell metachars in filenames' '
(
cd "$cli" &&
p4 sync ... &&
test -e "file with spaces" &&
test -e "foo\$bar"
test_path_exists "file with spaces" &&
test_path_exists "foo\$bar"
)
'

Expand All @@ -52,8 +52,8 @@ test_expect_success 'deleting with shell metachars' '
(
cd "$cli" &&
p4 sync ... &&
test ! -e "file with spaces" &&
test ! -e foo\$bar
test_path_is_missing "file with spaces" &&
test_path_is_missing foo\$bar
)
'

Expand Down Expand Up @@ -100,8 +100,8 @@ test_expect_success 'branch with shell char' '
git p4 clone --dest=. --detect-branches //depot@all &&
git log --all --graph --decorate --stat &&
git reset --hard p4/depot/branch\$3 &&
test -f shell_char_branch_file &&
test -f f1
test_path_is_file shell_char_branch_file &&
test_path_is_file f1
)
'

Expand Down