[commit: ghc] ghc-8.4: testsuite: Use /usr/bin/env instead of /bin/bash (97f6de1)

git at git.haskell.org git at git.haskell.org
Sat Oct 13 19:11:44 UTC 2018


Repository : ssh://git@git.haskell.org/ghc

On branch  : ghc-8.4
Link       : http://ghc.haskell.org/trac/ghc/changeset/97f6de1225a87c9804d8ea0bf1c5533cc0600e6e/ghc

>---------------------------------------------------------------

commit 97f6de1225a87c9804d8ea0bf1c5533cc0600e6e
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Tue May 29 17:37:01 2018 -0400

    testsuite: Use /usr/bin/env instead of /bin/bash
    
    Namely in T13719 and T13701.
    
    (cherry picked from commit 12458359c9312b0e2b7332a6b527d7dfa4325667)


>---------------------------------------------------------------

97f6de1225a87c9804d8ea0bf1c5533cc0600e6e
 testsuite/tests/perf/compiler/genT13701 | 3 ++-
 testsuite/tests/perf/compiler/genT13719 | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/testsuite/tests/perf/compiler/genT13701 b/testsuite/tests/perf/compiler/genT13701
index f2b7c4e..7401cdd 100755
--- a/testsuite/tests/perf/compiler/genT13701
+++ b/testsuite/tests/perf/compiler/genT13701
@@ -1,4 +1,5 @@
-#!/bin/bash
+#!/usr/bin/env bash
+
 # Generate $DEPTH layers of modules with $WIDTH modules on each layer
 # Every module on layer N imports all the modules on layer N-1
 # MultiLayerModules.hs imports all the modules from the last layer
diff --git a/testsuite/tests/perf/compiler/genT13719 b/testsuite/tests/perf/compiler/genT13719
index ccc078e..886fdd1 100755
--- a/testsuite/tests/perf/compiler/genT13719
+++ b/testsuite/tests/perf/compiler/genT13719
@@ -1,4 +1,5 @@
-#!/bin/bash
+#!/usr/bin/env bash
+
 # Generate $DEPTH layers of modules with $WIDTH modules on each layer
 # Every module on layer N imports all the modules on layer N-1
 # $ROOT.hs imports all the modules from the last layer



More information about the ghc-commits mailing list