From 1442a2abe8ff6924c64c4e7559475c5b58d636f5 Mon Sep 17 00:00:00 2001 From: "David Adam (zanchey)" Date: Mon, 9 Sep 2013 20:01:38 +0800 Subject: [PATCH] test documentation: update wording, generate test manual page (closes #734) --- build_tools/build_documentation.sh | 4 +--- doc_src/test.txt | 6 ++++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/build_tools/build_documentation.sh b/build_tools/build_documentation.sh index 2d971ec2a..76c19a04e 100755 --- a/build_tools/build_documentation.sh +++ b/build_tools/build_documentation.sh @@ -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 diff --git a/doc_src/test.txt b/doc_src/test.txt index 035671325..946c53307 100644 --- a/doc_src/test.txt +++ b/doc_src/test.txt @@ -16,9 +16,11 @@ The following operators are available to examine files and directories: - -e FILE returns true if \c FILE exists. - -f FILE returns true if \c FILE is a regular file. - -g FILE returns true if \c FILE has the set-group-ID bit set. -- -G FILE returns true if \c FILE exists and its group matches the effective group id of this process. +- -G FILE returns true if \c FILE exists and has the same group ID +as the current user. - -L FILE returns true if \c FILE is a symbolic link. -- -O FILE returns true if \c FILE exists and its owner matches the effective user id of this process. +- -O FILE returns true if \c FILE exists and is owned by the current +user. - -p FILE returns true if \c FILE is a named pipe. - -r FILE returns true if \c FILE is marked as readable. - -s FILE returns true if the size of \c FILE is greater than zero.