From 2c03dfa0b406565fca798214a842bac69b042017 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Wed, 2 Sep 2009 10:09:50 +0100 Subject: [boilerplate/test] Use numerical equality not string equality test == != -eq --- boilerplate/make-cairo-boilerplate-constructors.sh | 2 +- test/make-cairo-test-constructors.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/boilerplate/make-cairo-boilerplate-constructors.sh b/boilerplate/make-cairo-boilerplate-constructors.sh index dd631117..09716ca9 100644 --- a/boilerplate/make-cairo-boilerplate-constructors.sh +++ b/boilerplate/make-cairo-boilerplate-constructors.sh @@ -1,6 +1,6 @@ #! /bin/sh -if test $# == 0; then +if test $# -eq 0; then echo "$0: no input files." >&2 exit 0 fi diff --git a/test/make-cairo-test-constructors.sh b/test/make-cairo-test-constructors.sh index fdb84e9d..cb1391e7 100644 --- a/test/make-cairo-test-constructors.sh +++ b/test/make-cairo-test-constructors.sh @@ -1,6 +1,6 @@ #! /bin/sh -if test $# == 0; then +if test $# -eq 0; then echo "$0: no input files." >&2 exit 0 fi -- cgit v1.2.3