orchestra: pre-release WIP snapshot (orchestra-06g4gbsq2wrgd5hgypyzz4tyh0-ec8111ad)

This commit is contained in:
2026-08-28 16:42:36 +04:00
parent ec0502f829
commit fb80b565e3
3 changed files with 46 additions and 27 deletions
+7 -1
View File
@@ -38,7 +38,7 @@ esac
sout=$(bash "$healthcheck" --strict --nonsense 2>&1)
sstatus=$?
[ "$sstatus" -eq 2 ] || fail "--strict --nonsense exit status: want 2, got $sstatus" "$sout"
[ "$sstatus" -eq 1 ] || fail "--strict --nonsense exit status: want 1, got $sstatus" "$sout"
# --strict alone is accepted
gout=$(bash "$healthcheck" --strict)
@@ -46,4 +46,10 @@ gstatus=$?
[ "$gstatus" -eq 0 ] || fail "--strict run exit status: want 0, got $gstatus" "$gout"
# --strict rejects an empty-string argument too
eout=$(bash "$healthcheck" --strict "" 2>&1)
estatus=$?
[ "$estatus" -eq 1 ] || fail "--strict '' exit status: want 1, got $estatus" "$eout"
printf 'selftest: ok\n'