curl-config: fix --version
authorDaniel Stenberg <daniel@haxx.se>
Mon, 18 Apr 2011 07:03:12 +0000 (09:03 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 18 Apr 2011 07:03:12 +0000 (09:03 +0200)
commit82ecc85d9ed0fc05931fb6d6893eda567a3c443f
tree5c98f1585d22ca7f3ee883b7b5c93b30ad10aad4
parent84f809e7a872e189bf4105b6e5d175edf6cf19a1
curl-config: fix --version

curl-config --version didn't output the correct version string (bug
introduced in commit 0355e33b5f7b234cf3), and unfortunately the test
case 1022 that was supposed to check for this was broken.

This change fixes the test to detect this problem and it fixes the
output.

Bug: http://curl.haxx.se/bug/view.cgi?id=3288727
curl-config.in
tests/libtest/test1022.pl