mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-25 05:28: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:
parent
359991c005
commit
eed67c4768
@ -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
BIN
tests/shell/test.cfs
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user