Hi! > Do you mean printing of TINFO/TWARN messages right in the cycle? > > if (errno != EBUSY) { > err = errno; > tst_resm(TWARN, > "ioctl(%s, LOOP_CLR_FD, 0) unexpectedly failed > with: %s", > dev, tst_strerrno(err)); > } > > > But in the worst case, we may end up with 40 messages generated. > > Or do you mean saving the last errno and printing it to the final tst_brkm?
Either one works for me. Having 40 messages is better than none. Because you will see these only if something went wrong. -- Cyril Hrubis chru...@suse.cz ------------------------------------------------------------------------------ _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list