acerv / runltp-ng-original

Next-gen LTP runner
GNU General Public License v2.0
2 stars 3 forks source link

LTX cat command and other stuff #5

Closed richiejp closed 2 years ago

richiejp commented 2 years ago

This adds a cat builtin/msg similar to shell. So the test runner can rely on cat being available.

This forks to read the file allowin to reuse the existing code for executing tests. Fork is slow, but we need some delay before reading the taint anyway because the kernel is not synchronous.

Note: during parallel execution we probably want to watch the taint file in some other way. IDK if inotify works, we may need to poll it with a long running process.