Permalink
Browse files

Fix the arena test.

The gold test somehow doesn't trigger the errexit behavior?
  • Loading branch information...
Andy Chu
Andy Chu committed Sep 7, 2018
1 parent 146729b commit e40d680030956425cdec95dbd650e2a368ad4228
Showing with 6 additions and 1 deletion.
  1. +1 −1 test/arena.sh
  2. +5 −0 test/gold.sh
View
@@ -14,7 +14,7 @@ _compare() {
local path=$1
mkdir -p _tmp/arena
bin/osh --parse-and-print-arena $path > _tmp/arena/left.txt
bin/oshc arena $path > _tmp/arena/left.txt
if diff -u $path _tmp/arena/left.txt; then
echo "$path"
else
View
@@ -120,6 +120,11 @@ readlink-case() {
gold/readlink.sh compare
}
# Hm this isn't tickling the bug?
errexit-confusion() {
_compare gold/errexit-confusion.sh run-for-release
}
readonly -a PASSING=(
# FLAKY: This one differs by timestamp
#version-text

0 comments on commit e40d680

Please sign in to comment.