diff options
Diffstat (limited to 't/t9850-shell.sh')
| -rwxr-xr-x | t/t9850-shell.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/t/t9850-shell.sh b/t/t9850-shell.sh index 2af476c3af..cfc71c3bd4 100755 --- a/t/t9850-shell.sh +++ b/t/t9850-shell.sh @@ -28,4 +28,10 @@ test_expect_success 'shell allows interactive command' ' test_cmp expect actual ' +test_expect_success 'shell complains of overlong commands' ' + perl -e "print \"a\" x 2**12 for (0..2**19)" | + test_must_fail git shell 2>err && + grep "too long" err +' + test_done |
