projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix signal handler.
[gnulib.git]
/
tests
/
test-argp-2.sh
diff --git
a/tests/test-argp-2.sh
b/tests/test-argp-2.sh
index
2bd8d95
..
7d73f5c
100755
(executable)
--- a/
tests/test-argp-2.sh
+++ b/
tests/test-argp-2.sh
@@
-1,6
+1,6
@@
#! /bin/sh
# Test suite for argp.
#! /bin/sh
# Test suite for argp.
-# Copyright (C) 2006 Free Software Foundation, Inc.
+# Copyright (C) 2006
-2007
Free Software Foundation, Inc.
# This file is part of the GNUlib Library.
#
# This program is free software; you can redistribute it and/or modify
# This file is part of the GNUlib Library.
#
# This program is free software; you can redistribute it and/or modify
@@
-24,7
+24,9
@@
ERR=0
func_compare() {
# If argp was compiled without base_name, it will display full program name
func_compare() {
# If argp was compiled without base_name, it will display full program name
- sed '1{s,: [^ ]*/test-argp,: test-argp,;}' | cmp - $TMP
+ sed '1{
+ s,: [^ ]*/test-argp,: test-argp,
+ }' | diff -c $TMP -
}
####
}
####
@@
-70,9
+72,9
@@
documentation string
one one unit
two two units
one one unit
two two units
- -?, --help
G
ive this help list
- --usage
G
ive a short usage message
- -V, --version
P
rint program version
+ -?, --help
g
ive this help list
+ --usage
g
ive a short usage message
+ -V, --version
p
rint program version
Mandatory or optional arguments to long options are also mandatory or optional
for any corresponding short options.
Mandatory or optional arguments to long options are also mandatory or optional
for any corresponding short options.