Merge branch 'cc/mailmap-tuxfamily'
[gitweb.git] / t / t3404-rebase-interactive.sh
index 3532c482fc5270675ccf6efe3a2d805d17a82466..197914bbd8f36097a6f25e85470a0b2725fac193 100755 (executable)
@@ -1281,4 +1281,12 @@ test_expect_success 'editor saves as CR/LF' '
        )
 '
 
+SQ="'"
+test_expect_success 'rebase -i --gpg-sign=<key-id>' '
+       set_fake_editor &&
+       FAKE_LINES="edit 1" git rebase -i --gpg-sign="\"S I Gner\"" HEAD^ \
+               >out 2>err &&
+       grep "$SQ-S\"S I Gner\"$SQ" err
+'
+
 test_done