merge-recursive: fix check for skipability of working tree updates
[gitweb.git] / t / t3404-rebase-interactive.sh
index 961ac9d6b85b5826df0e6adc00404fd1c605c933..756de26c19c90429237456d3fb0bbbfd80ccfda9 100755 (executable)
@@ -927,10 +927,8 @@ test_expect_success 'rebase --exec works without -i ' '
 test_expect_success 'rebase -i --exec without <CMD>' '
        git reset --hard execute &&
        set_fake_editor &&
-       test_must_fail git rebase -i --exec 2>tmp &&
-       sed -e "1d" tmp >actual &&
-       test_must_fail git rebase -h >expected &&
-       test_cmp expected actual &&
+       test_must_fail git rebase -i --exec 2>actual &&
+       test_i18ngrep "requires a value" actual &&
        git checkout master
 '