let skips =
shlines "grep SKIP_ %s" (fedora_specfile "libguestfs" "master") in
- String.concat "\n" skips ^
+ "\
+# Fails under valgrind because of a leak in the fuse library,
+# although I could not work out exactly why.
+export SKIP_TEST_PARALLEL_MOUNT_LOCAL=1
+
+# Fails under valgrind because cpio subprocess has a memory leak.
+export SKIP_TEST_FILE_ARCHITECTURE_11=1
+
+" ^ String.concat "\n" skips ^
match supermin with
| None -> ""
| Some (supermin, supermin_helper) ->