scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | README | LICENSE

commit 0f60a24d55df32893a8dfa56930a3b0eb4dfb186
parent ced780e7de4878fb9e2b4072972799d69d0543c5
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Mon, 19 Feb 2018 09:06:34 +0000

[tests/ar] Small fix for test-q.sh

Diffstat:
Mtests/ar/execute/test-q.sh | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/tests/ar/execute/test-q.sh b/tests/ar/execute/test-q.sh @@ -1,7 +1,6 @@ #!/bin/sh -exec >> test.log -exec 2>> test.log +exec >> test.log 2>&1 set -e @@ -87,7 +86,8 @@ rm -f file1 file2 file3 ############################################################################ #stress quick append -for i in `awk '{for (i=0; i <999; ++i) print $i}`` +for i in `awk 'BEGIN {for (i=0; i <999; ++i) print i}'` do - ar -qv file.a $i + touch file-$i + ar -qv file.a file-$i done