tests: cram: add uci import testing on fuzzer corpus
[project/uci.git] / tests / cram / test-san_uci_import.t
1 check that uci import is producing expected results:
2
3 $ [ -n "$BUILD_BIN_DIR" ] && export PATH="$BUILD_BIN_DIR:$PATH"
4 $ export TEST_INPUTS="$TESTDIR/inputs"
5 $ export FUZZ_CORPUS="$TESTDIR/../fuzz/corpus"
6
7 $ for file in $(LC_ALL=C find $FUZZ_CORPUS -type f | sort ); do
8 > uci-san import -f $file; \
9 > done
10 uci-san: I/O error
11 uci-san: Parse error (invalid command) at line 0, byte 0
12 uci-san: Parse error (invalid command) at line 1, byte 18
13 uci-san: I/O error
14 uci-san: I/O error
15 [1]