scc

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

commit 7772df7ce9a3364f7fa76e7d246113967230399d
parent 1766ea468274d175a8716adaf59679f15cea73c8
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Thu, 22 Feb 2018 15:13:49 +0000

[test/ar] Remove exec from test files

It helps to debug individual tests

Diffstat:
Mtests/ar/execute/0001-append.sh | 1-
Mtests/ar/execute/0002-append.sh | 1-
Mtests/ar/execute/0003-append.sh | 1-
Mtests/ar/execute/0004-append.sh | 1-
Mtests/ar/execute/0005-append.sh | 1-
Mtests/ar/execute/0006-append.sh | 1-
Mtests/ar/execute/0007-delete.sh | 1-
Mtests/ar/execute/0008-delete.sh | 1-
Mtests/ar/execute/0009-delete.sh | 1-
Mtests/ar/execute/0010-delete.sh | 1-
Mtests/ar/execute/0011-delete.sh | 1-
Mtests/ar/execute/0012-delete.sh | 1-
Mtests/ar/execute/0013-print.sh | 1-
Mtests/ar/execute/0014-print.sh | 1-
Mtests/ar/execute/0015-print.sh | 1-
Mtests/ar/execute/0016-print.sh | 1-
Mtests/ar/execute/0017-print.sh | 1-
Mtests/ar/execute/0018-list.sh | 1-
Mtests/ar/execute/0019-list.sh | 1-
Mtests/ar/execute/0020-list.sh | 1-
Mtests/ar/execute/0021-list.sh | 1-
Mtests/ar/execute/0022-list.sh | 1-
Mtests/ar/execute/0023-extract.sh | 1-
Mtests/ar/execute/0024-extract.sh | 1-
Mtests/ar/execute/0025-extract.sh | 1-
Mtests/ar/execute/0026-extract.sh | 1-
Mtests/ar/execute/0027-extract.sh | 1-
Mtests/ar/execute/0029-move.sh | 1-
Mtests/ar/execute/0030-move.sh | 1-
Mtests/ar/execute/0031-move.sh | 1-
Mtests/ar/execute/chktest.sh | 2+-
31 files changed, 1 insertion(+), 31 deletions(-)

diff --git a/tests/ar/execute/0001-append.sh b/tests/ar/execute/0001-append.sh @@ -1,6 +1,5 @@ #!/bin/sh -exec >> test.log 2>&1 set -e trap "rm -f file.a f1 f2 f3 $tmp1 $tmp2" 0 2 3 diff --git a/tests/ar/execute/0002-append.sh b/tests/ar/execute/0002-append.sh @@ -1,6 +1,5 @@ #!/bin/sh -exec >> test.log 2>&1 set -e trap "rm -f file.a f1 f2 f3 $tmp1 $tmp2" 0 2 3 diff --git a/tests/ar/execute/0003-append.sh b/tests/ar/execute/0003-append.sh @@ -1,6 +1,5 @@ #!/bin/sh -exec >> test.log 2>&1 set -e trap "rm -f file.a f1 f2 f3 $tmp1 $tmp2" 0 2 3 diff --git a/tests/ar/execute/0004-append.sh b/tests/ar/execute/0004-append.sh @@ -1,6 +1,5 @@ #!/bin/sh -exec >> test.log 2>&1 set -e trap "rm -f file.a f1 f2 f3 $tmp1 $tmp2" 0 2 3 diff --git a/tests/ar/execute/0005-append.sh b/tests/ar/execute/0005-append.sh @@ -1,6 +1,5 @@ #!/bin/sh -exec >> test.log 2>&1 set -e trap "rm -f file.a f1 f2 f3 $tmp1 $tmp2" 0 2 3 diff --git a/tests/ar/execute/0006-append.sh b/tests/ar/execute/0006-append.sh @@ -1,6 +1,5 @@ #!/bin/sh -exec >> test.log 2>&1 set -e trap "rm -f file.a f1 f2 f3 $tmp1 $tmp2" 0 2 3 diff --git a/tests/ar/execute/0007-delete.sh b/tests/ar/execute/0007-delete.sh @@ -1,6 +1,5 @@ #!/bin/sh -exec >> test.log 2>&1 set -e diff --git a/tests/ar/execute/0008-delete.sh b/tests/ar/execute/0008-delete.sh @@ -1,6 +1,5 @@ #!/bin/sh -exec >> test.log 2>&1 set -e diff --git a/tests/ar/execute/0009-delete.sh b/tests/ar/execute/0009-delete.sh @@ -1,6 +1,5 @@ #!/bin/sh -exec >> test.log 2>&1 set -e diff --git a/tests/ar/execute/0010-delete.sh b/tests/ar/execute/0010-delete.sh @@ -1,6 +1,5 @@ #!/bin/sh -exec >> test.log 2>&1 set -e diff --git a/tests/ar/execute/0011-delete.sh b/tests/ar/execute/0011-delete.sh @@ -1,6 +1,5 @@ #!/bin/sh -exec >> test.log 2>&1 set -e diff --git a/tests/ar/execute/0012-delete.sh b/tests/ar/execute/0012-delete.sh @@ -1,6 +1,5 @@ #!/bin/sh -exec >> test.log 2>&1 set -e diff --git a/tests/ar/execute/0013-print.sh b/tests/ar/execute/0013-print.sh @@ -1,6 +1,5 @@ #!/bin/sh -exec >> test.log 2>&1 set -e diff --git a/tests/ar/execute/0014-print.sh b/tests/ar/execute/0014-print.sh @@ -1,6 +1,5 @@ #!/bin/sh -exec >> test.log 2>&1 set -e diff --git a/tests/ar/execute/0015-print.sh b/tests/ar/execute/0015-print.sh @@ -1,6 +1,5 @@ #!/bin/sh -exec >> test.log 2>&1 set -e diff --git a/tests/ar/execute/0016-print.sh b/tests/ar/execute/0016-print.sh @@ -1,6 +1,5 @@ #!/bin/sh -exec >> test.log 2>&1 set -e diff --git a/tests/ar/execute/0017-print.sh b/tests/ar/execute/0017-print.sh @@ -1,6 +1,5 @@ #!/bin/sh -exec >> test.log 2>&1 set -e diff --git a/tests/ar/execute/0018-list.sh b/tests/ar/execute/0018-list.sh @@ -1,6 +1,5 @@ #!/bin/sh -exec >> test.log 2>&1 set -e tmp1=`mktemp` diff --git a/tests/ar/execute/0019-list.sh b/tests/ar/execute/0019-list.sh @@ -1,6 +1,5 @@ #!/bin/sh -exec >> test.log 2>&1 set -e tmp1=`mktemp` diff --git a/tests/ar/execute/0020-list.sh b/tests/ar/execute/0020-list.sh @@ -1,6 +1,5 @@ #!/bin/sh -exec >> test.log 2>&1 set -e tmp1=`mktemp` diff --git a/tests/ar/execute/0021-list.sh b/tests/ar/execute/0021-list.sh @@ -1,6 +1,5 @@ #!/bin/sh -exec >> test.log 2>&1 set -e tmp1=`mktemp` diff --git a/tests/ar/execute/0022-list.sh b/tests/ar/execute/0022-list.sh @@ -1,6 +1,5 @@ #!/bin/sh -exec >> test.log 2>&1 set -e tmp1=`mktemp` diff --git a/tests/ar/execute/0023-extract.sh b/tests/ar/execute/0023-extract.sh @@ -1,7 +1,6 @@ #!/bin/sh -exec >> test.log 2>&1 set -e tmp1=`mktemp` diff --git a/tests/ar/execute/0024-extract.sh b/tests/ar/execute/0024-extract.sh @@ -1,7 +1,6 @@ #!/bin/sh -exec >> test.log 2>&1 set -e tmp1=`mktemp` diff --git a/tests/ar/execute/0025-extract.sh b/tests/ar/execute/0025-extract.sh @@ -1,7 +1,6 @@ #!/bin/sh -exec >> test.log 2>&1 set -e tmp1=`mktemp` diff --git a/tests/ar/execute/0026-extract.sh b/tests/ar/execute/0026-extract.sh @@ -1,7 +1,6 @@ #!/bin/sh -exec >> test.log 2>&1 set -e tmp1=`mktemp` diff --git a/tests/ar/execute/0027-extract.sh b/tests/ar/execute/0027-extract.sh @@ -1,7 +1,6 @@ #!/bin/sh -exec >> test.log 2>&1 set -e tmp1=`mktemp` diff --git a/tests/ar/execute/0029-move.sh b/tests/ar/execute/0029-move.sh @@ -1,7 +1,6 @@ #!/bin/sh -exec >> test.log 2>&1 set -e diff --git a/tests/ar/execute/0030-move.sh b/tests/ar/execute/0030-move.sh @@ -1,7 +1,6 @@ #!/bin/sh -exec >> test.log 2>&1 set -e diff --git a/tests/ar/execute/0031-move.sh b/tests/ar/execute/0031-move.sh @@ -1,7 +1,6 @@ #!/bin/sh -exec >> test.log 2>&1 set -e diff --git a/tests/ar/execute/chktest.sh b/tests/ar/execute/chktest.sh @@ -33,5 +33,5 @@ for i in *-*.sh do printf "Test: %s\n\n" $i >> test.log printf "%s\t" $i - ./$i && echo [OK] || echo [FAIL] + ./$i >> test.log 2>&1 && echo [OK] || echo [FAIL] done