e3faca37d407b0b881c1d9958deb74a99e0077af blob 756 bytes (raw)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
| | # Test zsh/system module
%prep
if zmodload -s zsh/system; then
tst_dir=V13.tmp
mkdir -p -- $tst_dir
else
ZTST_unimplemented='the zsh/system module is not available'
fi
%test
(
: > $tst_dir/file
zsystem flock -t 0.1 -i 0.1 $tst_dir/file
)
0:zsystem flock valid time arguments
(
zsystem flock -t -1 $tst_dir/file ||
zsystem flock -t 9999999999999999999 $tst_dir/file ||
zsystem flock -i -1 $tst_dir/file ||
zsystem flock -i 9999999999999999999 $tst_dir/file
)
1:zsystem flock invalid time arguments
?(eval):zsystem:2: flock: invalid timeout
?(eval):zsystem:3: flock: invalid timeout
?(eval):zsystem:4: flock: invalid interval
?(eval):zsystem:5: flock: invalid interval
|
debug log:
solving e3faca37d ...
found e3faca37d in https://inbox.vuxu.org/zsh-workers/DD9ADB44-A6E3-4139-A28B-E5F9F9942F00@dana.is/
applying [1/1] https://inbox.vuxu.org/zsh-workers/DD9ADB44-A6E3-4139-A28B-E5F9F9942F00@dana.is/
diff --git a/Test/V13system.ztst b/Test/V13system.ztst
new file mode 100644
index 000000000..e3faca37d
Checking patch Test/V13system.ztst...
Applied patch Test/V13system.ztst cleanly.
index at:
100644 e3faca37d407b0b881c1d9958deb74a99e0077af Test/V13system.ztst
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).