Browse Source

tests/shell: bring back the static test.cfs

I had forgotten about that ordering thing: depending on the platform
cfspack doesn't read files in a directory in the same order.
pull/85/head
Virgil Dupras 4 years ago
parent
commit
eed67c4768
2 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tests/shell/runtests.sh
  2. BIN
      tests/shell/test.cfs

+ 1
- 1
tests/shell/runtests.sh View File

@@ -6,7 +6,7 @@ SHELL="${EMULDIR}/shell/shell"
replay() {
fn=$1
replayfn=${fn%.*}.expected
ACTUAL=$("${SHELL}" < "${fn}" 2> /dev/null)
ACTUAL=$("${SHELL}" -f test.cfs < "${fn}" 2> /dev/null)
EXPECTED=$(cat ${replayfn})
if [ "$ACTUAL" = "$EXPECTED" ]; then
echo ok


BIN
tests/shell/test.cfs View File


Loading…
Cancel
Save