new file mode 100644
index 0000000..1d94e6d
--- /dev/null
+++ verify_checklib_results.sh
@@ -0,0 +1,30 @@
+#!/bin/bash
+
+# On OS X 10.11.5 and Ubuntu 16.04, this recipe builds a bc that fails
+# on exactly 10 tests. On both platforms, the system bc fails on the same
+# tests with the same values. This seems par for the course for bc:
+#
+# http://www.linuxfromscratch.org/blfs/view/7.4/general/bc.html
+#
+# The tests added here simply verify that that only those 10 tests have
+# failed.
+
+test_results=checklib_results.out
+bc/bc -l Test/checklib.b <(echo "quit") >$test_results
+
+# verify that the expected 10 tests failed
+# on many platforms these fail due to a small roundoff error
+# see also: http://www.linuxfromscratch.org/blfs/view/7.4/general/bc.html
+read -r -d '' expected_failed_tests <<'EOF'
+  index = 97
+  index = 8651
+  index = .80
+  index = 4.47
+  index = 2.19
+  index = 4.31
+  index = 2.36
+  index = 2.04
+  index = .65
+  index = 1.07
+EOF
+diff <(grep 'index = ' $test_results) <(echo "  $expected_failed_tests")
