소스 검색

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. BIN
      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


BIN
tests/shell/test.cfs 파일 보기


불러오는 중...
취소
저장