mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-04-22 00:10:42 +02:00
tests: file-monitor: also remove the 'foo' file at the end of the test
This commit is contained in:
parent
daa4da5ffc
commit
e6f2dc17ff
1 changed files with 4 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ test_file_monitor_basic (TestFixture * f, gconstpointer user_data)
|
|||
|
||||
/* delete the 'foo' file if it exists in path */
|
||||
g_autofree gchar *filename = g_build_filename (f->path, "foo", NULL);
|
||||
remove (filename);
|
||||
(void) remove (filename);
|
||||
|
||||
/* handle changed signal */
|
||||
f->file = NULL;
|
||||
|
|
@ -101,6 +101,9 @@ test_file_monitor_basic (TestFixture * f, gconstpointer user_data)
|
|||
|
||||
/* removed watch */
|
||||
g_signal_emit_by_name (f->plugin, "remove-watch", f->path);
|
||||
|
||||
/* remove 'foo' */
|
||||
(void) remove (filename);
|
||||
}
|
||||
|
||||
gint
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue