diff options
Diffstat (limited to 'contrib/atf/atf-sh/atf-check_test.sh')
-rw-r--r-- | contrib/atf/atf-sh/atf-check_test.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/contrib/atf/atf-sh/atf-check_test.sh b/contrib/atf/atf-sh/atf-check_test.sh index 6881714..7319a2b 100644 --- a/contrib/atf/atf-sh/atf-check_test.sh +++ b/contrib/atf/atf-sh/atf-check_test.sh @@ -211,10 +211,10 @@ oflag_inline_body() h_pass "echo foo bar" -o inline:"foo bar\n" h_pass "printf 'foo bar'" -o inline:"foo bar" h_pass "printf '\t\n\t\n'" -o inline:"\t\n\t\n" - # XXX Ugly hack to workaround the lack of \e in FreeBSD. Look for a - # nicer solution... + # XXX Ugly hack to workaround the lack of \e in FreeBSD. Also, \e doesn't + # seem to work as expected in Linux. Look for a nicer solution. case $(uname) in - Darwin|FreeBSD) + Darwin|FreeBSD|Linux) h_pass "printf '\a\b\f\n\r\t\v'" -o inline:"\a\b\f\n\r\t\v" ;; *) @@ -331,10 +331,10 @@ eflag_inline_body() h_pass "echo foo bar 1>&2" -e inline:"foo bar\n" h_pass "printf 'foo bar' 1>&2" -e inline:"foo bar" h_pass "printf '\t\n\t\n' 1>&2" -e inline:"\t\n\t\n" - # XXX Ugly hack to workaround the lack of \e in FreeBSD. Look for a - # nicer solution... + # XXX Ugly hack to workaround the lack of \e in FreeBSD. Also, \e doesn't + # seem to work as expected in Linux. Look for a nicer solution. case $(uname) in - Darwin|FreeBSD) + Darwin|FreeBSD|Linux) h_pass "printf '\a\b\f\n\r\t\v' 1>&2" -e inline:"\a\b\f\n\r\t\v" ;; *) |