aboutsummaryrefslogtreecommitdiff
path: root/t/t0061-run-command.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2026-01-15 11:12:53 -0800
committerJunio C Hamano <gitster@pobox.com>2026-01-15 13:02:38 -0800
commita3d1f391d35762162356201028fb73774a6c4a8b (patch)
tree4b27ddcff1e2c2a24f34eccd2c50cb0275b39b2f /t/t0061-run-command.sh
parent7264e61d87e58b9d0f5e6424c47c11e9657dfb75 (diff)
downloadgit-a3d1f391d35762162356201028fb73774a6c4a8b.tar.xz
Revert "Merge branch 'ar/run-command-hook'"
This reverts commit f406b8955295d01089ba2baf35eceadff2d11cae, reversing changes made to 1627809eeff75e6ec936fc609e7be46d5eb2fa9e. It seems to have caused a few regressions, two of the three known ones we have proposed solutions for. Let's give ourselves a bit more room to maneuver during the pre-release freeze period and restart once the 2.53 ships.
Diffstat (limited to 't/t0061-run-command.sh')
-rwxr-xr-xt/t0061-run-command.sh38
1 files changed, 0 insertions, 38 deletions
diff --git a/t/t0061-run-command.sh b/t/t0061-run-command.sh
index 74529e219e..76d4936a87 100755
--- a/t/t0061-run-command.sh
+++ b/t/t0061-run-command.sh
@@ -164,44 +164,6 @@ test_expect_success 'run_command runs ungrouped in parallel with more tasks than
test_line_count = 4 err
'
-test_expect_success 'run_command can divert output' '
- test_when_finished rm output_file &&
- test-tool run-command run-command-divert-output 3 sh -c "printf \"%s\n%s\n\" Hello World" 2>actual &&
- test_must_be_empty actual &&
- test_cmp expect output_file
-'
-
-test_expect_success 'run_command listens to stdin' '
- cat >expect <<-\EOF &&
- preloaded output of a child
- listening for stdin:
- sample stdin 1
- sample stdin 0
- preloaded output of a child
- listening for stdin:
- sample stdin 1
- sample stdin 0
- preloaded output of a child
- listening for stdin:
- sample stdin 1
- sample stdin 0
- preloaded output of a child
- listening for stdin:
- sample stdin 1
- sample stdin 0
- EOF
-
- write_script stdin-script <<-\EOF &&
- echo "listening for stdin:"
- while read line
- do
- echo "$line"
- done
- EOF
- test-tool run-command run-command-stdin 2 ./stdin-script 2>actual &&
- test_cmp expect actual
-'
-
cat >expect <<-EOF
preloaded output of a child
asking for a quick stop