diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/tail-2/inotify-hash-abuse2 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/tail-2/inotify-hash-abuse2 b/tests/tail-2/inotify-hash-abuse2 index 2e567c799..c0cca2338 100755 --- a/tests/tail-2/inotify-hash-abuse2 +++ b/tests/tail-2/inotify-hash-abuse2 @@ -28,7 +28,8 @@ touch f || framework_failure debug='---disable-inotify -s .001' debug= -timeout 10 tail $debug -F f & pid=$! +tail $debug -F f & pid=$! +cleanup_() { kill $pid; } for i in $(seq 200); do kill -0 $pid || break; |