Skip to content

Commit 603cc76

Browse files
gkurzcschoenebeck
authored andcommitted
tests/9pfs: Force removing of local 9pfs test directory
No need to get a complaint from "rm" if some path disappeared for some reason. Signed-off-by: Greg Kurz <groug@kaod.org> Message-Id: <160406199444.312256.8319835906008559151.stgit@bahia.lan> Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
1 parent 5409d8b commit 603cc76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/qtest/libqos/virtio-9p.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ void virtio_9p_create_local_test_dir(void)
6767
void virtio_9p_remove_local_test_dir(void)
6868
{
6969
g_assert(local_test_path != NULL);
70-
char *cmd = g_strdup_printf("rm -r '%s'\n", local_test_path);
70+
char *cmd = g_strdup_printf("rm -fr '%s'\n", local_test_path);
7171
int res = system(cmd);
7272
if (res < 0) {
7373
/* ignore error, dummy check to prevent compiler error */

0 commit comments

Comments
 (0)