Commit e107a08b authored by Jan Kiszka's avatar Jan Kiszka

smokey: Close tmp file at end of sigdebug test

The rtdm test relies on successively free file descriptors which is
violated by this test when the run after each other.
Reported-by: default avatarGylstorff Quirin <quirin.gylstorff@siemens.com>
Signed-off-by: Jan Kiszka's avatarJan Kiszka <jan.kiszka@siemens.com>
parent 5714ceed
......@@ -292,6 +292,7 @@ static int run_sigdebug(struct smokey_test *t, int argc, char *const argv[])
err = sem_destroy(&send_signal);
check_no_error("sem_destroy", err);
close(tmp_fd);
if (wd) {
fprintf(wd, "%d", wdog_delay);
fclose(wd);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment