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.
This commit is contained in:
Virgil Dupras 2019-12-31 15:17:22 -05:00
parent 359991c005
commit eed67c4768
2 changed files with 1 additions and 1 deletions

View File

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

BIN
tests/shell/test.cfs Normal file

Binary file not shown.