git p4 test: use real_path to resolve p4 client symlinks
[gitweb.git] / t / t9806-git-p4-options.sh
index 2892367830c90353698ef0554b84c1e66d36a0a2..83738fa2cdcfbf97c7cb723b2388a31d470fa530 100755 (executable)
@@ -128,7 +128,7 @@ test_expect_success 'clone --use-client-spec' '
                exec >/dev/null &&
                test_must_fail git p4 clone --dest="$git" --use-client-spec
        ) &&
-       cli2="$TRASH_DIRECTORY/cli2" &&
+       cli2=$(test-path-utils real_path "$TRASH_DIRECTORY/cli2") &&
        mkdir -p "$cli2" &&
        test_when_finished "rmdir \"$cli2\"" &&
        (