On 12/12/20 6:18 PM, Ingo Schwarze wrote: > Hi Aisha, > > Aisha Tammy wrote on Sat, Dec 12, 2020 at 05:40:14PM -0500: > >> I was trying to create a small standalone portable version of the >> imsg utilities for linux and I managed to get it compiling (yea!!) >> and have put it on github [1]. > > I freely admit i didn't look at that. > >> It is also working with trivial test cases that I manually generated. >> For completeness, I was also trying to find regression tests for imsg >> but I couldn't find them in the source code (in fact, couldn't find >> them for whole of libutil, make regress just does nothing). > > OpenBSD never mixes regression tests into the main directories of the > src tree. All regression tests are in /usr/src/regress/. In particular, > those for libutil are in /usr/src/regress/lib/libutil/. > >> Could anyone point to where I should look for these regression tests > > If somebody wrote any regression tests for imsg, the place to put them > would be /usr/src/regress/lib/libutil/imsg/. > >> (if they exist?) > > It doesn't appear there are any automated tests for imsg right now. > Several parts of OpenBSD have regression tests, but not all have. > > Yours, > Ingo >
Awesome, thanks a lot Inigo :D That's very informative. Cheers, Aisha