summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2022-04-13 10:25:35 +0200
committerAxel Beckert <abe@deuxchevaux.org>2022-04-13 10:32:28 +0200
commit514524ee7be382a740e53e2a7c0247f2d68d7730 (patch)
treeff6ec1e8c27e6458a4c695ccf527ced562eb2d02
parent7e8059a0b8dafad9bf3ddb04ca0904b61fa503b5 (diff)
downloadzsh-514524ee7be382a740e53e2a7c0247f2d68d7730.tar.gz
zsh-514524ee7be382a740e53e2a7c0247f2d68d7730.zip
Add patch by Jun to fix autopkgtest with zsh-static due to warning on STDERR
-rw-r--r--debian/patches/fix-V14system.ztst-with-zsh-static.patch20
-rw-r--r--debian/patches/series1
2 files changed, 21 insertions, 0 deletions
diff --git a/debian/patches/fix-V14system.ztst-with-zsh-static.patch b/debian/patches/fix-V14system.ztst-with-zsh-static.patch
new file mode 100644
index 000000000..b646d91f5
--- /dev/null
+++ b/debian/patches/fix-V14system.ztst-with-zsh-static.patch
@@ -0,0 +1,20 @@
+Description: Fix autopkgtest with zsh-static due to (correct) warning on STDERR
+Author: Jun T <takimoto-j@kba.biglobe.ne.jp>
+Origin: https://zsh.org/workers/50052
+
+diff --git a/Test/V14system.ztst b/Test/V14system.ztst
+index 100daab08..ffdb730a4 100644
+--- a/Test/V14system.ztst
++++ b/Test/V14system.ztst
+@@ -5,10 +5,10 @@
+ if zmodload -s zsh/system && zmodload -s zsh/zselect; then
+ tst_dir=V14.tmp
+ mkdir -p -- $tst_dir
++ : > $tst_dir/file # File on which to acquire flock.
+ else
+ ZTST_unimplemented='the zsh/system and zsh/zselect modules are not available'
+ fi
+- : > $tst_dir/file # File on which to acquire flock.
+
+ %test
+
diff --git a/debian/patches/series b/debian/patches/series
index e9046d2fb..7f269d00e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,3 +5,4 @@ example-shebang.patch
completion-dscverify.diff
use-pager-instead-of-more-by-default.patch
hopefully-fix-testsuite-failures.patch
+fix-V14system.ztst-with-zsh-static.patch