]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t0014-alias.sh
Merge branch 'en/merge-recursive-directory-rename-fixes'
[thirdparty/git.git] / t / t0014-alias.sh
index a070e645d7fbea6486ff60ee94d7f6df72d84cc6..2694c81afd0a02aeb9a4bba2cd0bcd42b6ea4113 100755 (executable)
@@ -37,4 +37,11 @@ test_expect_success 'looping aliases - internal execution' '
 #      test_i18ngrep "^fatal: alias loop detected: expansion of" output
 #'
 
+test_expect_success 'run-command formats empty args properly' '
+    GIT_TRACE=1 git frotz a "" b " " c 2>&1 |
+    sed -ne "/run_command:/s/.*trace: run_command: //p" >actual &&
+    echo "git-frotz a '\'''\'' b '\'' '\'' c" >expect &&
+    test_cmp expect actual
+'
+
 test_done