t9104: fix test for following larger parents
[gitweb.git] / t / t9903-bash-prompt.sh
index 51ecd3e4c157ea267557a4484d574748b9757bd4..0c6acddc1b9e6fbf155e735749cd67f21d0ebaaf 100755 (executable)
@@ -166,7 +166,7 @@ test_expect_success 'prompt - inside bare repository' '
 '
 
 test_expect_success 'prompt - interactive rebase' '
-       printf " (b1|REBASE-i 2/3)" >expected
+       printf " (b1|REBASE-i 2/3)" >expected &&
        write_script fake_editor.sh <<-\EOF &&
                echo "exec echo" >"$1"
                echo "edit $(git log -1 --format="%h")" >>"$1"