EOF
'
-test_expect_success 'bad -X <strategy-option> arguments: unclosed quote' '
- cat >expect <<-\EOF &&
- fatal: could not split '\''--bad'\'': unclosed quote
- EOF
- test_expect_code 128 git rebase -X"bad argument\"" side main >out 2>actual &&
- test_must_be_empty out &&
- test_cmp expect actual
-'
-
-test_expect_success 'bad -X <strategy-option> arguments: bad escape' '
- cat >expect <<-\EOF &&
- fatal: could not split '\''--bad'\'': cmdline ends with \
- EOF
- test_expect_code 128 git rebase -X"bad escape \\" side main >out 2>actual &&
- test_must_be_empty out &&
- test_cmp expect actual
-'
-
test_expect_success '--ignore-whitespace works with apply backend' '
test_must_fail git rebase --apply main side &&
git rebase --abort &&