diff --git a/t/t9809-git-p4-client-view.sh b/t/t9809-git-p4-client-view.sh index 96426414aa..b0c6d4391d 100755 --- a/t/t9809-git-p4-client-view.sh +++ b/t/t9809-git-p4-client-view.sh @@ -31,7 +31,7 @@ client_view() { # check_files_exist() { ok=0 && - num=${#@} && + num=$# && for arg ; do test_path_is_file "$arg" && ok=$(($ok + 1))