aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2026-09-27 20:09:53 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2026-09-28 11:49:59 -0400
commit029d7af58d499a8dafd6438e62499ec05df93178 (patch)
tree8e437fce2f3e7456b5076d2b54dc474fa097537b /test
parentnix devshells: transient fix re nixpkgs (diff)
flags: --ocda-db and matching --ocda-db-round-trip
flags names tidied so that each names the artefact it acts on. --ocda-db and --abstraction-db do the same thing. --ocda-db is the official flag (--abstraction-db remains but undocumented) --db-round-trip becomes --ocda-db-round-trip, so that it agrees with --ssp-round-trip: each names the artefact it reads rather than one naming a container and the other a format. --abstraction-source is untouched named after he stage as it takes .sst, a pod, .ssp or .ocda.db, rather than any one artefact. (assisted by Claude-Code)
Diffstat (limited to 'test')
-rwxr-xr-xtest/test-abstraction-db-roundtrip.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test-abstraction-db-roundtrip.sh b/test/test-abstraction-db-roundtrip.sh
index 0ec7847..698eb22 100755
--- a/test/test-abstraction-db-roundtrip.sh
+++ b/test/test-abstraction-db-roundtrip.sh
@@ -100,7 +100,7 @@ for db in "$OUT_DIR"/pod/*.ocda.db; do
FAILURES=$((FAILURES + 1))
continue
fi
- if ! $SPINE_BIN --db-round-trip="$db" --lang="$lang" \
+ if ! $SPINE_BIN --ocda-db-round-trip="$db" --lang="$lang" \
> "$OUT_DIR/from-db.ssp" 2> "$OUT_DIR/from-db.err"; then
echo "ERROR: $base (spine exited non-zero)"
head -3 "$OUT_DIR/from-db.err"
@@ -116,7 +116,7 @@ for db in "$OUT_DIR"/pod/*.ocda.db; do
done
# more than one language and none named: it must refuse rather than pick
if [ "$n_langs" -gt 1 ]; then
- if $SPINE_BIN --db-round-trip="$db" > /dev/null 2> /dev/null; then
+ if $SPINE_BIN --ocda-db-round-trip="$db" > /dev/null 2> /dev/null; then
echo "$stem"
echo " ACCEPTED a round trip with no language named, holding $n_langs"
FAILURES=$((FAILURES + 1))