summaryrefslogtreecommitdiff
path: root/tests/test-getopt_long.h
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2012-12-31 16:01:13 -0700
committerEric Blake <eblake@redhat.com>2012-12-31 16:01:13 -0700
commitd4d4aa2ee0869eebacf0322d35dcd12b576eeef3 (patch)
tree1eaaa2d0399b3475974ce8d6807c0e16eee9ff8e /tests/test-getopt_long.h
parentb679574e3ac7d53c20778854719043c2c4a2dc9e (diff)
downloadgnulib-d4d4aa2ee0869eebacf0322d35dcd12b576eeef3.tar.gz
git-version-gen: avoid test -z portability glitch
Autoconf warns that there are some broken shells where 'test -z "$x"' gives 0 exit status if $x is ')'. Since some of our strings come from command-line arguments, and since git-version-gen is run on end-user machines where sh might be broken, we should be robust to abuse. Some of the instances replaced here are provably safe, and could not confuse even broken 'test', but it is easier to replace all instances of test -[nz]. * build-aux/git-version-gen: Prefer portable test spelling, since git-version-gen is run on more than just developer machines. Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'tests/test-getopt_long.h')
0 files changed, 0 insertions, 0 deletions