glsl/tests: remove any bashisms

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Andreas Boll <andreas.boll.dev@gmail.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
This commit is contained in:
Emil Velikov 2017-02-22 19:54:58 +00:00 committed by Emil Velikov
parent 05c1d6d564
commit a3782f2b7a
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/sh
if [ ! -z "$srcdir" ]; then
compare_ir=`pwd`/tests/compare_ir.py
@ -35,7 +35,7 @@ echo ""
echo "$pass/$total tests returned correct results"
echo ""
if [[ $pass == $total ]]; then
if [ $pass = $total ]; then
exit 0
else
exit 1

View File

@ -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