summaryrefslogtreecommitdiff
path: root/debian/patches/fix-V14system.ztst-with-zsh-static.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/fix-V14system.ztst-with-zsh-static.patch')
-rw-r--r--debian/patches/fix-V14system.ztst-with-zsh-static.patch20
1 files changed, 20 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
+