summaryrefslogtreecommitdiffstats
path: root/test/util/vercmptest.sh
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-04-24 20:59:24 -0500
committerDan McGee <dan@archlinux.org>2012-04-24 20:59:24 -0500
commit20ff0cd40fd228f56251634a7429439244c24eac (patch)
tree81fada55c28ec86b3515dd7ae9d65a3afa809f76 /test/util/vercmptest.sh
parent1583a2079c8e84c9cd960a596dae2e36c9077bbb (diff)
downloadpacman-20ff0cd40fd228f56251634a7429439244c24eac.tar.xz
util/testdb: don't return crazy error values
With some contrived examples, you could easily make testdb return a very high error count, which could easily overflow the 8-bit unsigned integer limit. Instead, simply return 1 or 0 based on whether errors were found. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'test/util/vercmptest.sh')
0 files changed, 0 insertions, 0 deletions