git p4 test: use real_path to resolve p4 client symlinks
[gitweb.git] / t / t9810-git-p4-rcs.sh
index d8d9ca46793a6c09a19beb350e2f18dd199eb2c4..c7313b0bd96588a22fa77a080037e811c8b4104c 100755 (executable)
@@ -244,7 +244,7 @@ test_expect_success 'cope with rcs keyword expansion damage' '
                cd "$git" &&
                git config git-p4.skipSubmitEdit true &&
                git config git-p4.attemptRCSCleanup true &&
-               (cd ../cli && p4_append_to_file kwfile1.c) &&
+               (cd "$cli" && p4_append_to_file kwfile1.c) &&
                old_lines=$(wc -l <kwfile1.c) &&
                perl -n -i -e "print unless m/Revision:/" kwfile1.c &&
                new_lines=$(wc -l <kwfile1.c) &&