1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-23 16:38:06 +11:00

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() {
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 Normal file

Binary file not shown.