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

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

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