[Piglit] [PATCH 1/2] Fix shell scripts that claim to run with /bin/sh but actually need /bin/bash.
Stuart Abercrombie
sabercrombie at chromium.org
Wed Dec 5 11:59:42 PST 2012
With this change they run on, for instance the last 6 years of Ubuntu.
Signed-off-by: Stuart Abercrombie <sabercrombie at chromium.org>
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
---
tests/asmparsertest/make_test_list.sh | 2 +-
tests/asmparsertest/vp-tex.sh | 2 +-
tests/glslparsertest/glsl2/make_tex_lod_tests.sh | 2 +-
tests/glslparsertest/glsl2/make_tex_rect_tests.sh | 2 +-
.../compiler/make_tex_lod_tests.sh | 2 +-
tests/spec/glsl-1.10/variable-index-read.sh | 2 +-
tests/spec/glsl-1.10/variable-index-write.sh | 2 +-
.../outerProduct-invalid-parameters.sh | 2 +-
.../spec/glsl-1.20/execution/outerProduct-const.sh | 2 +-
tests/spec/glsl-1.20/execution/outerProduct.sh | 2 +-
10 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/tests/asmparsertest/make_test_list.sh b/tests/asmparsertest/make_test_list.sh
index dde4689..9c1b1cc 100755
--- a/tests/asmparsertest/make_test_list.sh
+++ b/tests/asmparsertest/make_test_list.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Copyright © 2009 Intel Corporation
#
diff --git a/tests/asmparsertest/vp-tex.sh b/tests/asmparsertest/vp-tex.sh
index 09a0b1c..b7197a0 100755
--- a/tests/asmparsertest/vp-tex.sh
+++ b/tests/asmparsertest/vp-tex.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Copyright © 2009 Intel Corporation
#
diff --git a/tests/glslparsertest/glsl2/make_tex_lod_tests.sh b/tests/glslparsertest/glsl2/make_tex_lod_tests.sh
index ad6acba..1324cb1 100755
--- a/tests/glslparsertest/glsl2/make_tex_lod_tests.sh
+++ b/tests/glslparsertest/glsl2/make_tex_lod_tests.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
function gen_frag_test
{
diff --git a/tests/glslparsertest/glsl2/make_tex_rect_tests.sh b/tests/glslparsertest/glsl2/make_tex_rect_tests.sh
index c747d88..f9dccda 100755
--- a/tests/glslparsertest/glsl2/make_tex_rect_tests.sh
+++ b/tests/glslparsertest/glsl2/make_tex_rect_tests.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
function gen_frag_test
{
diff --git a/tests/spec/arb_shader_texture_lod/compiler/make_tex_lod_tests.sh b/tests/spec/arb_shader_texture_lod/compiler/make_tex_lod_tests.sh
index 405e79b..87bd817 100755
--- a/tests/spec/arb_shader_texture_lod/compiler/make_tex_lod_tests.sh
+++ b/tests/spec/arb_shader_texture_lod/compiler/make_tex_lod_tests.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
function get_coord_type
{
diff --git a/tests/spec/glsl-1.10/variable-index-read.sh b/tests/spec/glsl-1.10/variable-index-read.sh
index b9f342e..12b0685 100755
--- a/tests/spec/glsl-1.10/variable-index-read.sh
+++ b/tests/spec/glsl-1.10/variable-index-read.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Generate a set of data for a sized matrix. Elements start with a specified
# value and increment by 1.0 for each element.
diff --git a/tests/spec/glsl-1.10/variable-index-write.sh b/tests/spec/glsl-1.10/variable-index-write.sh
index c7b2970..d3fbb74 100755
--- a/tests/spec/glsl-1.10/variable-index-write.sh
+++ b/tests/spec/glsl-1.10/variable-index-write.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Emit global variable declarations for either the vertex shader or the
# fragment shader.
diff --git a/tests/spec/glsl-1.20/compiler/built-in-functions/outerProduct-invalid-parameters.sh b/tests/spec/glsl-1.20/compiler/built-in-functions/outerProduct-invalid-parameters.sh
index a7e1113..5f106eb 100755
--- a/tests/spec/glsl-1.20/compiler/built-in-functions/outerProduct-invalid-parameters.sh
+++ b/tests/spec/glsl-1.20/compiler/built-in-functions/outerProduct-invalid-parameters.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
function emit_vs
{
diff --git a/tests/spec/glsl-1.20/execution/outerProduct-const.sh b/tests/spec/glsl-1.20/execution/outerProduct-const.sh
index d9ac8d8..5e04c7f 100755
--- a/tests/spec/glsl-1.20/execution/outerProduct-const.sh
+++ b/tests/spec/glsl-1.20/execution/outerProduct-const.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
function emit_conversion_info
{
diff --git a/tests/spec/glsl-1.20/execution/outerProduct.sh b/tests/spec/glsl-1.20/execution/outerProduct.sh
index d79607e..ecea80d 100755
--- a/tests/spec/glsl-1.20/execution/outerProduct.sh
+++ b/tests/spec/glsl-1.20/execution/outerProduct.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
function emit_conversion_info
{
--
1.7.7.3
More information about the Piglit
mailing list