Mark,
It turned out to be pretty easy to add it as a standalone test file (patch is attached). Chibi's (chibi test) and (chibi term ansi) just had to be copy and pasted into the top of the file, a few things added at the top to import the modules and enable the right read and print options, and a few modifications applied and it runs. Note that I enabled the r7rs-bytevectors reader and print options in the patch I submitted last night (
https://lists.gnu.org/archive/html/guile-devel/2017-06/msg00035.html ). Also note that the (test-exit) command I added at the end is commented out so that this test failing due to some failed tests doesn't stop all the non-standalone tests from running. Two tests have to be disabled which cause the script to break when they are reached, which are
(test-write-syntax "|\"|" '|\"|)