about summary refs log tree commit diff
path: root/support/temp_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'support/temp_file.c')
-rw-r--r--support/temp_file.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/support/temp_file.c b/support/temp_file.c
index f06647a467..5950aec06b 100644
--- a/support/temp_file.c
+++ b/support/temp_file.c
@@ -99,7 +99,10 @@ support_delete_temp_files (void)
 {
   while (temp_name_list != NULL)
     {
-      remove (temp_name_list->name);
+      /* For some tests, the temporary file removal runs multiple
+	 times (in the parent processes and the subprocess), so do not
+	 report a failed removal attempt.  */
+      (void) remove (temp_name_list->name);
       free (temp_name_list->name);
 
       struct temp_name_list *next