summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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