]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
compilers treat zero length files differently
authorAndrew Tridgell <tridge@samba.org>
Fri, 28 Mar 2003 12:33:39 +0000 (13:33 +0100)
committerAndrew Tridgell <tridge@samba.org>
Fri, 28 Mar 2003 12:33:39 +0000 (13:33 +0100)
test.sh

diff --git a/test.sh b/test.sh
index 7a112341a5d9474d73d6bad191dbf8907c84d038..753292217df9081298f7d701396d4e79fd6c67f9 100755 (executable)
--- a/test.sh
+++ b/test.sh
@@ -20,7 +20,7 @@ test_failed() {
 randcode() {
     outfile="$1"
     nlines=$2
-    i=0;
+    i=1;
     (
     while [ $i -lt $nlines ]; do
        echo "int foo$nlines$i(int x) { return x; }"