File: smoke-test-clang-fast

package info (click to toggle)
aflplusplus 2.68c-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 6,568 kB
  • sloc: ansic: 76,508; cpp: 5,346; sh: 2,877; python: 1,663; makefile: 491; java: 43; sql: 40; xml: 3; javascript: 1
file content (13 lines) | stat: -rwxr-xr-x 311 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
set -e -u
cp 'test-instr.c' "$AUTOPKGTEST_TMP"
cd "$AUTOPKGTEST_TMP"
for CC in afl-clang-fast 'afl-clang-fast++ -x c++'
do
    make -B 'test-instr' CC="$CC"
	echo 0 | afl-showmap -q -o out0 ./test-instr
	echo 1 | afl-showmap -q -o out1 ./test-instr
	! diff -u out0 out1
done

# vim:ts=4 sts=4 sw=4 et