summaryrefslogtreecommitdiff
path: root/tests/cram/test_uci_import.t
blob: 8d5ab74ed4e738890b6ba5093646bb8f58d977e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
check that uci import is producing expected results:

  $ [ -n "$BUILD_BIN_DIR" ] && export PATH="$BUILD_BIN_DIR:$PATH"
  $ export TEST_INPUTS="$TESTDIR/inputs"
  $ export FUZZ_CORPUS="$TESTDIR/../fuzz/corpus"

  $ for file in $(LC_ALL=C find $FUZZ_CORPUS -type f | sort ); do
  >   valgrind --quiet --leak-check=full uci import -f $file; \
  > done
  uci: I/O error
  uci: Parse error (invalid command) at line 0, byte 0
  uci: Parse error (invalid command) at line 1, byte 18
  uci: I/O error
  uci: I/O error
  [1]