test documentation: update wording, generate test manual page (closes #734)

This commit is contained in:
David Adam (zanchey) 2013-09-09 20:01:38 +08:00
parent e031fa7207
commit 1442a2abe8
2 changed files with 5 additions and 5 deletions

View file

@ -20,10 +20,8 @@ else
fi
# Determine which man pages we don't want to generate.
# Don't make a test man page. fish's test is conforming, so the system man pages
# are applicable and generally better.
# on OS X, don't make a man page for open, since we defeat fish's open function on OS X.
CONDEMNED_PAGES=test.1
CONDEMNED_PAGES=
if test `uname` = 'Darwin'; then
CONDEMNED_PAGES="$CONDEMNED_PAGES open.1"
fi

View file

@ -16,9 +16,11 @@ The following operators are available to examine files and directories:
- <tt>-e FILE</tt> returns true if \c FILE exists.
- <tt>-f FILE</tt> returns true if \c FILE is a regular file.
- <tt>-g FILE</tt> returns true if \c FILE has the set-group-ID bit set.
- <tt>-G FILE</tt> returns true if \c FILE exists and its group matches the effective group id of this process.
- <tt>-G FILE</tt> returns true if \c FILE exists and has the same group ID
as the current user.
- <tt>-L FILE</tt> returns true if \c FILE is a symbolic link.
- <tt>-O FILE</tt> returns true if \c FILE exists and its owner matches the effective user id of this process.
- <tt>-O FILE</tt> returns true if \c FILE exists and is owned by the current
user.
- <tt>-p FILE</tt> returns true if \c FILE is a named pipe.
- <tt>-r FILE</tt> returns true if \c FILE is marked as readable.
- <tt>-s FILE</tt> returns true if the size of \c FILE is greater than zero.