From 1f871e708458f3ff4b210d6a7692308cf61b477d Mon Sep 17 00:00:00 2001 From: Ben Gamari <ben@smart-cactus.org> Date: Thu, 7 Nov 2019 09:57:01 -0500 Subject: [PATCH] testsuite: Remove redundant cleaning logic from T16511 The GHCi script for T16511 had some `rm` commands to clean up output from previous runs. This should be harmless since stderr was redirected to /dev/null; however, it seems that this redirection doesn't work on Windows (perhaps because GHCi uses `cmd` to execute the command-line; I'm not sure). I tried to fix it but was unable to find a sensible solution. Regardless, the cleaning logic is quite redundant now that we run each test in a hermetic environment. Let's just remove it. --- testsuite/tests/driver/T16511/T16511.script | 3 --- 1 file changed, 3 deletions(-) diff --git a/testsuite/tests/driver/T16511/T16511.script b/testsuite/tests/driver/T16511/T16511.script index f6a48e99e9f2..5bbc026bd7c2 100644 --- a/testsuite/tests/driver/T16511/T16511.script +++ b/testsuite/tests/driver/T16511/T16511.script @@ -1,6 +1,3 @@ -:! rm B.hs 2> /dev/null -:! rm *.o 2> /dev/null -:! rm *.hi 2> /dev/null :! cp B1.hs B.hs :load D.hs main -- GitLab