forked from sig_core/toolkit
9 lines
202 B
Bash
Executable file
9 lines
202 B
Bash
Executable file
#!/bin/bash
|
|
r_log "gcc" "Ensure gcc can build a simple program"
|
|
OUTPUTPROG=$(mktemp)
|
|
|
|
gcc ./common/files/hello.c -o "$OUTPUTPROG"
|
|
"$OUTPUTPROG" | grep -q "Hello!"
|
|
r_checkExitStatus $?
|
|
|
|
rm "$OUTPUTPROG"
|