tests/make: Add 0089-comment 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 a2655e559ece2774283f4f93a47dd9872e4bde77
 (DIR) parent b651c523d5aadffbcdd1739086a206a66bdaecaf
 (HTM) Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
       Date:   Sun, 21 Jan 2024 12:06:02 +0100
       
       tests/make: Add 0089-comment test
       
       Diffstat:
         A tests/make/execute/0089-comment.sh  |      18 ++++++++++++++++++
       
       1 file changed, 18 insertions(+), 0 deletions(-)
       ---
 (DIR) diff --git a/tests/make/execute/0089-comment.sh b/tests/make/execute/0089-comment.sh
       @@ -0,0 +1,18 @@
       +#!/bin/sh
       +
       +trap 'rm -f $tmp1 $tmp2' EXIT INT TERM QUIT HUP
       +
       +tmp1=tmp1.$$
       +tmp2=tmp2.$$
       +
       +cat >$tmp2 <<EOF
       +Hello World!  
       +EOF
       +
       +scc-make -f- <<'EOF' > $tmp1 2>&1
       +VAR = Hello World!  # This is a comment
       +all:
       +        @echo '$(VAR)'
       +EOF
       +
       +diff $tmp1 $tmp2