diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2023-03-31 00:30:13 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2023-04-01 21:20:00 -0500 |
commit | 3a2b5420c965d86ea5861036adde8bdcdb8fb471 (patch) | |
tree | 2440b565bcb62d2127eaaa70c384166615c90d52 /system/coreutils/test-tee-avoid-eintr.patch | |
parent | 7c97598cf01499e2c2082b3f61a9ad060b536277 (diff) | |
download | packages-3a2b5420c965d86ea5861036adde8bdcdb8fb471.tar.gz packages-3a2b5420c965d86ea5861036adde8bdcdb8fb471.tar.bz2 packages-3a2b5420c965d86ea5861036adde8bdcdb8fb471.tar.xz packages-3a2b5420c965d86ea5861036adde8bdcdb8fb471.zip |
system/coreutils: Update to 9.2
Fixes: #787
Diffstat (limited to 'system/coreutils/test-tee-avoid-eintr.patch')
-rw-r--r-- | system/coreutils/test-tee-avoid-eintr.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/system/coreutils/test-tee-avoid-eintr.patch b/system/coreutils/test-tee-avoid-eintr.patch new file mode 100644 index 000000000..c513486f7 --- /dev/null +++ b/system/coreutils/test-tee-avoid-eintr.patch @@ -0,0 +1,15 @@ +Upstream report: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62542 + +diff --git a/tests/misc/tee.sh b/tests/misc/tee.sh +index 0b97a9ea3..444cb688a 100755 +--- a/tests/misc/tee.sh ++++ b/tests/misc/tee.sh +@@ -99,7 +99,7 @@ dd count=20 bs=100K if=/dev/zero status=none | + dd count=0 oflag=nonblock status=none + tee || { cleanup_; touch tee.fail; } + } >fifo +-test -f tee.fail && fail=1 ++test -f tee.fail && fail=1 || cleanup_ + + # Ensure tee honors --output-error modes + read_fifo() { timeout 10 dd count=1 if=fifo of=/dev/null status=none & } |