; Adjust Eshell regression tests to avoid SIGPIPE

In batch mode, SIGPIPEs can cause Emacs to abort (bug#66186).

* lisp/eshell/esh-io.el (eshell-output-object-to-target): Update
comment.

* test/lisp/eshell/esh-proc-tests.el
(esh-proc-test/pipeline-connection-type/middle)
(esh-proc-test/pipeline-connection-type/last): Use '(ignore)', since
that causes no output when called with no arguments, thus avoiding a
risky 'process-send-string'.
10 jobs for master in 175 minutes and 50 seconds (queued for 4 seconds)
Status Job ID Name Coverage
  Build Images
passed #74909
build-image-inotify

01:39:33

 
  Normal
failed #74910
test-all-inotify

00:45:10

 
  Platform Images
passed #74911
build-image-eglot

01:33:04

failed #74913
build-image-gnustep

00:33:51

passed #74912
build-image-tree-sitter

01:39:49

 
  Platforms
passed #74914
test-eglot

00:04:07

skipped #74916
test-gnustep
passed #74915
test-tree-sitter

00:02:00

 
  Native Comp Images
passed #74917
build-native-comp-speed2

01:57:46

 
  Native Comp
failed #74918
test-native-comp-speed2

00:57:56

 
Name Stage Failure
failed
test-native-comp-speed2 Native Comp
Uploading artifacts for failed job
Uploading artifacts...
test-native-comp-speed2-862e5eff/: found 531 matching files and directories

Uploading artifacts as "archive" to coordinator... 201 Created
id=74918 responseStatus=201 Created token=YbV3Yy9D
Uploading artifacts...
test-native-comp-speed2-862e5eff/junit-test-report.xml: found 1 matching files and directories

Uploading artifacts as "junit" to coordinator... 201 Created
id=74918 responseStatus=201 Created token=YbV3Yy9D
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 2

failed
test-all-inotify Normal
Uploading artifacts for failed job
Uploading artifacts...
test-all-inotify-862e5eff/: found 531 matching files and directories

Uploading artifacts as "archive" to coordinator... 201 Created
id=74910 responseStatus=201 Created token=zfYSurha
Uploading artifacts...
test-all-inotify-862e5eff/junit-test-report.xml: found 1 matching files and directories

Uploading artifacts as "junit" to coordinator... 201 Created
id=74910 responseStatus=201 Created token=zfYSurha
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 2

failed
build-image-gnustep Platform Images
executor failed running [/bin/sh -c make bootstrap]: exit code: 2
Running after_script
Running after script...
$ test -n "$(docker ps -aq -f name=${test_name})" && docker cp ${test_name}:checkout/test ${test_name}
$ test -n "$(docker ps -aq -f name=${test_name})" && docker rm ${test_name}
$ find ${test_name} ! \( -name "*.log" -o -name ${EMACS_TEST_JUNIT_REPORT} \) -type f -delete
find: build-image-gnustep-862e5eff: No such file or directory
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1