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:
parent
05c1d6d564
commit
a3782f2b7a
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue