瀏覽代碼

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 年之前
父節點
當前提交
eed67c4768
共有 2 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      tests/shell/runtests.sh
  2. 二進制
      tests/shell/test.cfs

+ 1
- 1
tests/shell/runtests.sh 查看文件

@@ -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


二進制
tests/shell/test.cfs 查看文件


Loading…
取消
儲存