diff options
author | pjd <pjd@FreeBSD.org> | 2010-08-06 21:56:32 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2010-08-06 21:56:32 +0000 |
commit | 970b3134a29d74db2094d46f4a3a0c5d93c68a34 (patch) | |
tree | d65744e6c69b673d64d90f7874be1be4ba8fe46c /tools/regression/fstest/tests | |
parent | cf25be5f47a7bd38b486e99eec05349c8bb05f51 (diff) | |
download | FreeBSD-src-970b3134a29d74db2094d46f4a3a0c5d93c68a34.zip FreeBSD-src-970b3134a29d74db2094d46f4a3a0c5d93c68a34.tar.gz |
Check first todo() argument against operating system name and operating system
name plus file system name.
Diffstat (limited to 'tools/regression/fstest/tests')
-rw-r--r-- | tools/regression/fstest/tests/misc.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/regression/fstest/tests/misc.sh b/tools/regression/fstest/tests/misc.sh index 97fe07c..58ce268 100644 --- a/tools/regression/fstest/tests/misc.sh +++ b/tools/regression/fstest/tests/misc.sh @@ -87,8 +87,7 @@ test_check() todo() { - echo "${os}" | $GREP -iq "${1}" - if [ $? -eq 0 ]; then + if [ "${os}" = "${1}" -o "${os}:${fs}" = "${1}" ]; then todomsg="${2}" fi } |