From: "Bart Schaefer" <schaefer@candle.brasslantern.com>
To: "Andrej Borsenkow" <Andrej.Borsenkow@mow.siemens.ru>,
"ZSH Workers Mailing List" <zsh-workers@sunsite.dk>
Subject: PATCH: Block device tests
Date: Fri, 25 May 2001 16:54:31 +0000 [thread overview]
Message-ID: <1010525165431.ZM17967@candle.brasslantern.com> (raw)
In-Reply-To: <000001c0e44b$4982c180$21c9ca95@mow.siemens.ru>
On May 24, 4:15pm, Andrej Borsenkow wrote:
}
} > Please check whether this takes care of the zmodload test segfaults on
} > various architectures.
}
} With current CVS all tests (with obvious exception of unimplemented
} features) pass under current cygwin.
}
} Two tests that fail are searching for block device (C02cond) and process
} substitution (D03procsubst).
I don't know what to do about D03, but how about this for C02:
diff -u zsh-forge/current/Test/C02cond.ztst zsh-4.0/Test/C02cond.ztst
--- zsh-forge/current/Test/C02cond.ztst Wed May 23 19:59:28 2001
+++ zsh-4.0/Test/C02cond.ztst Fri May 25 09:50:05 2001
@@ -27,9 +27,13 @@
0:-a cond
# Find a block special file system. This is a little tricky.
- block=$(find /dev /devices -type b -print 2>/dev/null|head -1) &&
- [[ -b $block && ! -b zerolength ]]
-0:-b cond
+ if block=$(find /dev(|ices)/ -type b -print); then
+ [[ -b $block[(f)1] && ! -b zerolength ]]
+ else
+ print -u8 'Warning: Not testing [[ -b blockdevice ]] (no devices found)'
+ [[ ! -b zerolength ]]
+ fi
+0D:-b cond
char=(/dev/tty*([1]))
[[ -c $char && ! -c $block ]]
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
next prev parent reply other threads:[~2001-05-25 16:55 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-22 15:14 Almost all tests pass under new cygwin Andrej Borsenkow
2001-05-22 15:24 ` Andrej Borsenkow
2001-05-22 15:31 ` Bart Schaefer
2001-05-22 15:44 ` Oliver Kiddle
2001-05-23 16:51 ` About zmodload test segfaults Bart Schaefer
2001-05-24 12:15 ` Andrej Borsenkow
2001-05-25 16:54 ` Bart Schaefer [this message]
2001-05-26 8:24 ` PATCH: Block device tests Andrej Borsenkow
2001-05-27 22:54 ` Bart Schaefer
2001-05-28 6:50 ` Andrej Borsenkow
2001-05-28 16:06 ` Bart Schaefer
2001-05-28 17:25 ` Bart Schaefer
2001-05-29 10:34 ` Peter Stephenson
2001-05-29 10:51 ` Andrej Borsenkow
2001-05-29 15:37 ` Bart Schaefer
2001-05-30 9:21 ` Peter Stephenson
2001-05-28 9:21 ` About zmodload test segfaults Sven Wischnowsky
2001-05-22 15:53 ` Almost all tests pass under new cygwin Andrej Borsenkow
2001-05-23 11:40 ` Peter Stephenson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1010525165431.ZM17967@candle.brasslantern.com \
--to=schaefer@candle.brasslantern.com \
--cc=Andrej.Borsenkow@mow.siemens.ru \
--cc=zsh-workers@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).