aboutsummaryrefslogtreecommitdiff
path: root/cddl/contrib/opensolaris/cmd/lockstat
diff options
context:
space:
mode:
authorJilles Tjoelker <jilles@FreeBSD.org>2009-05-26 22:33:10 +0000
committerJilles Tjoelker <jilles@FreeBSD.org>2009-05-26 22:33:10 +0000
commit00e8c94f2545b6af328e6febf4349093767ebbeb (patch)
tree7c67338800c6dadeb3d4619c1f14c22373d35a24 /cddl/contrib/opensolaris/cmd/lockstat
parentc3e22f831f6af96d86a6a9f0c29632e22105e409 (diff)
downloadsrc-00e8c94f2545b6af328e6febf4349093767ebbeb.tar.gz
src-00e8c94f2545b6af328e6febf4349093767ebbeb.zip
Fix various cases with 3 or 4 parameters in test(1) to be POSIX compliant.
More precisely, this gives precedence to an interpretation not using the '(', ')', '-a' and '-o' in their special meaning, if possible. For example, it is now safe to write [ "$a" = "$b" ] and assume it compares the two strings. The man page already says that test(1) works this way, so does not need to be changed. Interpretation of input with more parameters tries a bit harder to find a valid parse in some cases. Add various additional test cases to TEST.sh. PR: standards/133369 Approved by: ed (mentor)
Notes
Notes: svn path=/head/; revision=192862
Diffstat (limited to 'cddl/contrib/opensolaris/cmd/lockstat')
0 files changed, 0 insertions, 0 deletions