summaryrefslogtreecommitdiffstats
path: root/tests/dimension/tokenizer.sh
blob: 35bcf651d475f7aa3455427726c183e40e44a490 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

braces=$(${TOP_BUILDDIR}/dimension/dimension --tokenize braces.pov)
braces_exp='({ { } } } } { {)'

if [ "$braces" != "$braces_exp" ]; then
  echo "braces.pov tokenized as \"$braces\"" >&2
  echo " -- expected \"$braces_exp\"" >&2
  exit 1;
fi