aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/tests/warnings-test.sh
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2017-02-22 19:54:58 +0000
committerEmil Velikov <[email protected]>2017-03-10 14:12:48 +0000
commita3782f2b7a324efa0963d3b8f6ea8879106e80ab (patch)
tree63f7314a09ce7c4d6f42dd69b7f376676fd21276 /src/compiler/glsl/tests/warnings-test.sh
parent05c1d6d564daf6ab1a4c3df1450effb6ef28d24a (diff)
glsl/tests: remove any bashisms
Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Andreas Boll <[email protected]> Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/compiler/glsl/tests/warnings-test.sh')
-rwxr-xr-xsrc/compiler/glsl/tests/warnings-test.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/glsl/tests/warnings-test.sh b/src/compiler/glsl/tests/warnings-test.sh
index 1bea4665394..6a52d4064f8 100755
--- a/src/compiler/glsl/tests/warnings-test.sh
+++ b/src/compiler/glsl/tests/warnings-test.sh
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash
+#!/bin/sh
# Execute several shaders, and check that the InfoLog outcome is the expected.
@@ -24,7 +24,7 @@ echo ""
echo "$pass/$total tests returned correct results"
echo ""
-if [[ $pass == $total ]]; then
+if [ $pass = $total ]; then
exit 0
else
exit 1