HomePhabricator

tests: Introduce functions to change directories

Authored by Anderson Toshiyuki Sasaki <ansasaki@redhat.com> on Tue, Nov 20, 2:01 PM.

Description

tests: Introduce functions to change directories

This introduces torture_get_current_working_dir() and
torture_change_dir() to allow changing directories in tests.

Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>

Details

Committed
asnWed, Nov 28, 3:51 PM
Parents
rLIBSSH77be4ce9056e: tests: use torture_create_temp_file() in torture_knownhosts_parsing
Branches
Unknown
Tags
Unknown