]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix testheaders.sh: it must build a true executable
authorFrancesco Chemolli <kinkie@squid-cache.org>
Thu, 19 Nov 2009 23:32:21 +0000 (00:32 +0100)
committerFrancesco Chemolli <kinkie@squid-cache.org>
Thu, 19 Nov 2009 23:32:21 +0000 (00:32 +0100)
test-suite/testheaders.sh

index 41429438ca590b7809bd109b2589593b79937529..457496a12eb6366d573d3abcddcbd6d564d8f16b 100755 (executable)
@@ -36,6 +36,7 @@ for f in `cd ${dir} && ls -1 *.h 2>/dev/null`; do
        fi
        echo "OK."
        # unit-tests require an app to run.
-       # our most-recent object suits this purpose
-       cp ./testHeaderDeps_${hdr}.o ./testHeaders
+       # our most-recent object suits this purpose.
+       # let's link or some tests will fail
+       ${cc} ./testHeaderDeps_${hdr}.o -o ./testHeaders
 done