#!/bin/sh
unset MALLOC_COUNT_SHOW
sdir=test-data/dump-tsc-log-gen2

# testing to see if files are scanned in scanning mode
for system in SOSS OCS; do
	for type in TSCL TSCS TSCV; do
		./dump-tsc-log-tester -v -v $sdir/$system/$type.bin 2>&1 | grep -q malformed && exit 1
	done
done
exit 0
