[commit: ghc] wip/tdammers/T11066: testsuite: Use /usr/bin/env instead of /bin/bash (ea6c689)
git at git.haskell.org
git at git.haskell.org
Wed May 30 10:46:51 UTC 2018
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/tdammers/T11066
Link : http://ghc.haskell.org/trac/ghc/changeset/ea6c6896fafa696cb89504014f76c18b3fd17a7b/ghc
>---------------------------------------------------------------
commit ea6c6896fafa696cb89504014f76c18b3fd17a7b
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.
>---------------------------------------------------------------
ea6c6896fafa696cb89504014f76c18b3fd17a7b
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