summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/glsl/glcpp/tests/glcpp-test2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/glcpp/tests/glcpp-test b/src/glsl/glcpp/tests/glcpp-test
index cfe7e97878..c09e8a96b9 100755
--- a/src/glsl/glcpp/tests/glcpp-test
+++ b/src/glsl/glcpp/tests/glcpp-test
@@ -9,7 +9,7 @@ for test in *.c; do
echo -n "Testing $test..."
../glcpp < $test > $test.out
total=$((total+1))
- if cmp $test.expected $test.out; then
+ if cmp $test.expected $test.out >/dev/null 2>&1; then
echo "PASS"
pass=$((pass+1))
else