Test suite: factorize out some file manipulation operations
Originally created by @bertagaz on #16114 (Redmine)
We’re starting to have several occurences of $vm.execute('touch ...')
or $vm.execute('rm ...')
in our test suite step definitions. That
would be nice to have helpers for that kind of things like we have
file_exist?()
or file_empty?()
. They’ll probably need to have a
:user
option.