path: ltt-control_2.15.0-1/tests/README.adoc Why is it flaky ? Similarly to pidof, killall may run before the background application executes, thus failing to find it. Store the application PID after it it launched in background into a temporary variable for later use path: ltt-control_2.15.0-1/tests/README.adoc The application may be delayed after being forked, but not executed yet. Therefore, pidof will not find it. Use "wait" instead. === Using sleep as delay-based optimistic synchronization technique path: ltt-control_2.15.0-1/tests/README.adoc cluster. === Using pidof to wait for a background application (by name) to disappear Why is it flaky ?