aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiva Mahadevan <siva@FreeBSD.org>2026-06-23 17:12:16 +0000
committerSiva Mahadevan <siva@FreeBSD.org>2026-07-17 13:50:33 +0000
commitd0b1a389003b1e6ff5bcf35a7c04654ea7ff87bd (patch)
tree99e3fc12dc94d8dc398e5db02e167d30ff8394ad
parentd809a10218884162ed47c658233746c53a98b1aa (diff)
-rw-r--r--usr.bin/awk/tests/bugs-fixed/bug_fix_test.sh12
1 files changed, 8 insertions, 4 deletions
diff --git a/usr.bin/awk/tests/bugs-fixed/bug_fix_test.sh b/usr.bin/awk/tests/bugs-fixed/bug_fix_test.sh
index 588e2f86b0b7..b9c9b6024baa 100644
--- a/usr.bin/awk/tests/bugs-fixed/bug_fix_test.sh
+++ b/usr.bin/awk/tests/bugs-fixed/bug_fix_test.sh
@@ -35,14 +35,18 @@ check()
awk=awk
- local out_file="${SRCDIR}/${tc}.ok"
+ cd ${SRCDIR}
+ local out_file="${tc}.ok"
[ -f "${out_file}" ] && out_flag="-o file:${out_file}"
- local err_file="${SRCDIR}/${tc}.err"
+ local err_file="${tc}.err"
[ -f "${err_file}" ] && err_flag="-e file:${err_file} -s exit:2"
- local in_file="${SRCDIR}/${tc}.in"
+ local in_file="${tc}.in"
[ -f "${in_file}" ] && in_flag="${in_file}"
- (cd ${SRCDIR} ; atf_check ${out_flag} ${err_flag} ${awk} -f "${tc}.awk" ${in_flag})
+ test "${tc}" = inf-nan-torture -a "$(uname -p)" = riscv64 && \
+ atf_expect_fail "https://github.com/onetrueawk/awk/issues/269"
+
+ atf_check ${out_flag} ${err_flag} ${awk} -f "${tc}.awk" ${in_flag}
}
add_testcase()