Public bug reported:
Commit 8789f910812afbf6b87dd371ee5ae30592f1423f ("support parallel
execution of tests") broke existing BATS behavior in which a test file
can set environment variables to be shared between subtests:
if [ -z "$MYSTATE" ]; then
do something
export MYSTATE=so
Be sure to remove the statefile before invoking the reproducer:
$ rm -f /tmp/mystate;/usr/local/bin/bats -t env-lost.bats
1..2
ok 1 first test
# linecount is 2 (expected 1)
not ok 2 second test
# (in test file env-lost.bats, line 25)
# `false' failed
--
You received
FWIW: same problem, same laptop (Dell M4800 with NVIDIA Corporation
GK106GLM [Quadro K2100M] QHD+), nvidia 343.22 (proprietary). Ctrl-
Alt-F1 + Ctrl-Alt-F7 workaround restores backlight.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.