Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug in C02cont.ztst's -N test
- X-seq: zsh-workers 38358
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: Bug in C02cont.ztst's -N test
- Date: Fri, 29 Apr 2016 13:10:27 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version; bh=DA46Tu6o8LFLZz63ewdCYXNU1+yUFO7sx6GvalmuRD0=; b=jHowjnV8dOWoURgxQDSyNKPFoYwe+mEirMk7zmhnEJFKh/y3WPgq1iNvDUI37mYGvQ 4cXaJsve4jNEhjOD46ew+wiBruShliWOvQaBYcj730mE6lPlb3/5tMxL8CGF1UQa6HJT fi83HZYXzjYB+eSxrZY9go7Kd8byUo/aefgFhCNqwDqYNWMtXjAL5A4UpywHLNt8iW2q TX1Xp4EOGMhimfdihpPBpFgg3aF7pTjDwWAQc8Z/j5PWGc7lI8y3YjSpuL50BfNyMOTU ekSEs6x+GhqDeCG5r/kJ/U4gAy8cVESi+SjSNCkqiErkRwuIWW/eozWH2Pluw0T+eo2L 56+Q==
- In-reply-to: <ufa1t5pl0yg.fsf@epithumia.math.uh.edu>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <ufa1t5pl0yg.fsf@epithumia.math.uh.edu>
On Apr 28, 7:20pm, Jason L Tibbitts III wrote:
} Subject: Bug in C02cont.ztst's -N test
}
} When building zsh in a chroot created by the "mock" tool (used in Fedora
} and derivatives to build packages in a clean chroot)
This test has been changed as of 2015/12/31 so the newer test should be
in zsh-5.2. What version are you attempting to build?
The new test is
elif { df -k -- ${$({mount || /sbin/mount} | awk '/noatime/ {print $1,$3}'):-""} | tr -s ' ' | fgrep "$(df -k . | tail -1 | tr -s ' ')" } >&/dev/null; then
ZTST_skip="[[ -N file ]] not supported with noatime file system"
(that whole "elif ...; then" is one long line containing "" in case it
gets wrapped or misjoined by email clients. However I guess a line of
output from df that begins with a hyphen would still break that.
diff --git a/Test/C02cond.ztst b/Test/C02cond.ztst
index 88cad0d..f9fc185 100644
--- a/Test/C02cond.ztst
+++ b/Test/C02cond.ztst
@@ -154,7 +154,7 @@
ZTST_skip="[[ -N file ]] not supported on Cygwin"
elif (( isnfs )); then
ZTST_skip="[[ -N file ]] not supported with NFS"
- elif { df -k -- ${$({mount || /sbin/mount} | awk '/noatime/ {print $1,$3}'):-""} | tr -s ' ' | fgrep "$(df -k . | tail -1 | tr -s ' ')" } >&/dev/null; then
+ elif { df -k -- ${$({mount || /sbin/mount} | awk '/noatime/ {print $1,$3}'):-""} | tr -s ' ' | fgrep -- "$(df -k . | tail -1 | tr -s ' ')" } >&/dev/null; then
ZTST_skip="[[ -N file ]] not supported with noatime file system"
else
[[ -N $newnewnew && ! -N $unmodified ]]
Messages sorted by:
Reverse Date,
Date,
Thread,
Author