eosnetworkfoundation / mandel

Obsolete. Use https://github.com/AntelopeIO/leap instead.
Other
87 stars 27 forks source link

prevent access to ~/eosio-wallet/ & ~/.local/share/eosio during CI test runs #770

Closed spoonincode closed 1 year ago

spoonincode commented 2 years ago

Tests should never access nodeos' and keosd's default config & data directories (~/.local/share/eosio & ~/eosio-wallet respectively) . At best it can create spooky problems such as eosnetworkfoundation/mandel#553, in extreme cases it could remove a user's wallet (what I'm worried eosnetworkfoundation/mandel#704 might have done).

CI must prevent access to these directories so that tests violating this rule fail as an indicator to us that the test needs fixing.

Bonus points for using something like FUSE to make sure an application even so much as taking a sniff :nose: with opendir() will cause some sort of catastrophic test failure.

spoonincode commented 1 year ago

Transferred to Leap repo