mdrip icon indicating copy to clipboard operation
mdrip copied to clipboard

[bug] MDRIP Test passes too often...

Open jayunit100 opened this issue 10 months ago • 2 comments

4/18 ~ i cant reproduce this in a "non jay" environment, so maybe ill close it.

Original report:

Problem Statement

mdrip test fails at the right time, effectively in standalone mode, but when run in batch w/ a series of other, long running tests - is somehow more tolerant of individual failures.

Solution

I'm not sure, but I suspect the subshells made when mdrip is batch testing have a different tolerance for error.

Example

Image

jayunit100 avatar Apr 17 '25 20:04 jayunit100

# hypothesis 1:

The reason is that i (originally believed, was

  • test1 fail
  • test2 pass

results in mdrip test passing. but that turned out to be false, still looking into this.

jayunit100 avatar Apr 18 '25 21:04 jayunit100

one possible hypothesis is that shells maybe are different depending on if you run mdrip test in batch mode, vs mdrip test X of a single markdown file w/in a shell. ..... ?

  • in BASH, commands exist statuses when you have &&'s exit based on the LAST cmd that run
  • in bin/SH, the semantics are opposite

jayunit100 avatar Apr 22 '25 17:04 jayunit100