# HG changeset patch # User Sergey Poznyakoff # Date 1177848255 0 # Node ID 29e3274acedc75287a2b408e67861805866d73ed # Parent 9f37008981ab0f990e43c15f3842301a1963346b Update diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2007-04-29 Sergey Poznyakoff + + * lib/argp-help.c (hol_cluster_cmp): Reverse comparison. Change + proposed by Sven Verdoolaege. + + * tests/test-argp.c: Fix option ordering. Test deeply clustered + options. + * tests/test-argp-2.sh (func_compare): Use diff instead of + cmp. Change proposed by Bruno Haible + (usage and help tests): Update + 2007-04-29 Bruno Haible * tests/test-fflush.c (main): Use a file of size 17, not 10. diff --git a/tests/test-argp-2.sh b/tests/test-argp-2.sh --- a/tests/test-argp-2.sh +++ b/tests/test-argp-2.sh @@ -26,15 +26,16 @@ # If argp was compiled without base_name, it will display full program name sed '1{ s,: [^ ]*/test-argp,: test-argp, - }' | diff -c $TMP - + }' | diff -pu $TMP - } #### # Test --usage output cat > $TMP < $TMP </dev/null && ERR=1 +#### +# Run built-in tests +./test-argp || ERR=1 + rm $TMP exit $ERR