aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/tests_for_document_abstraction_shell_scripts.org
diff options
context:
space:
mode:
Diffstat (limited to 'org/tests_for_document_abstraction_shell_scripts.org')
-rw-r--r--org/tests_for_document_abstraction_shell_scripts.org6
1 files changed, 4 insertions, 2 deletions
diff --git a/org/tests_for_document_abstraction_shell_scripts.org b/org/tests_for_document_abstraction_shell_scripts.org
index df02509..f8563c7 100644
--- a/org/tests_for_document_abstraction_shell_scripts.org
+++ b/org/tests_for_document_abstraction_shell_scripts.org
@@ -303,6 +303,8 @@ heading_ancestors_text|heading_ancestors_text IS NOT NULL
segment|segment IS NOT NULL
segment_prev|segment_prev IS NOT NULL
segment_next|segment_next IS NOT NULL
+segment_html_is|segment_html_is IS NOT NULL
+segment_epub_is|segment_epub_is IS NOT NULL
segment_epub|segment_epub IS NOT NULL
anchor|anchor IS NOT NULL AND anchor != segment
heading_lev_anchor|heading_lev_anchor IS NOT NULL
@@ -361,8 +363,8 @@ for ssp in "$OUT_DIR"/*/abstraction/*.ssp; do
echo "$CHECKS" | while IFS='|' read -r prop pred; do
[ -z "$prop" ] && continue
case "$prop" in
- *": true") s_n=$(grep -c "^\.$prop\$" "$ssp" || true) ;;
- *) s_n=$(grep -c "^\.$prop: " "$ssp" || true) ;;
+ ,*": true") s_n=$(grep -c "^\.$prop\$" "$ssp" || true) ;;
+ ,*) s_n=$(grep -c "^\.$prop: " "$ssp" || true) ;;
esac
d_n=$(sqlite3 "$db" "select count(*) from objects where $pred;" 2>/dev/null || echo ERR)
if [ "$s_n" != "$d_n" ]; then