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 this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1882542

Title:
  regression: 8789f9108 broke environment-variable preservation

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bats/+bug/1882542/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to