submodule.c: report the submodule that an error occurs in
[gitweb.git] / t / t9903-bash-prompt.sh
index 0db4469c89492ae625307629cb7132178c3b9671..97c9b32c2ecfa608f1e9c37c1c6402a1772e4187 100755 (executable)
@@ -177,7 +177,7 @@ test_expect_success 'prompt - interactive rebase' '
        git checkout b1 &&
        test_when_finished "git checkout master" &&
        git rebase -i HEAD^ &&
-       test_when_finished "git rebase --abort"
+       test_when_finished "git rebase --abort" &&
        __git_ps1 >"$actual" &&
        test_cmp expected "$actual"
 '