mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2025-12-29 19:40:14 +01:00
[boilerplate/test] Use numerical equality not string equality
test == != -eq
This commit is contained in:
parent
f5df38ca5e
commit
2c03dfa0b4
2 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
#! /bin/sh
|
||||
|
||||
if test $# == 0; then
|
||||
if test $# -eq 0; then
|
||||
echo "$0: no input files." >&2
|
||||
exit 0
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#! /bin/sh
|
||||
|
||||
if test $# == 0; then
|
||||
if test $# -eq 0; then
|
||||
echo "$0: no input files." >&2
|
||||
exit 0
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue