tests/make: Add 0086-rule test - scc - simple c99 compiler
 (HTM) git clone git://git.simple-cc.org/scc
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Submodules
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit a5daeaadac2ae9e7ed83f3565d606210ea263a2e
 (DIR) parent 24af11c699aa8d687459047f106f571dc06ea3aa
 (HTM) Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
       Date:   Sun, 21 Jan 2024 10:07:26 +0100
       
       tests/make: Add 0086-rule test
       
       Diffstat:
         A tests/make/execute/0086-rule.sh     |      22 ++++++++++++++++++++++
       
       1 file changed, 22 insertions(+), 0 deletions(-)
       ---
 (DIR) diff --git a/tests/make/execute/0086-rule.sh b/tests/make/execute/0086-rule.sh
       @@ -0,0 +1,22 @@
       +#!/bin/sh
       +
       +trap 'rm -f $tmp1 $tmp2 t? t' EXIT INT TERM QUIT HUP
       +
       +tmp1=tmp1.$$
       +tmp2=tmp2.$$
       +
       +cat > $tmp2 <<EOF
       +touch t
       +touch t1
       +touch t2
       +EOF
       +
       +scc-make -f- <<'EOF' > $tmp1 2>&1
       +all: t1 t2
       +
       +t1 t2: t
       +t1 t2 t:
       +        touch $@
       +EOF
       +
       +diff $tmp1 $tmp2