testutil: Add sanity check for cwd
This commit is contained in:
parent
2c7d3d4762
commit
5d4e68291e
1 changed files with 2 additions and 0 deletions
|
@ -66,6 +66,8 @@ sub uncapture_stderr {
|
||||||
}
|
}
|
||||||
|
|
||||||
sub init_test_dirs {
|
sub init_test_dirs {
|
||||||
|
-d "t" or die "Was expecting tests to be run from root of repo\n";
|
||||||
|
|
||||||
# Create a run_from/ subdirectory for tests which want to run
|
# Create a run_from/ subdirectory for tests which want to run
|
||||||
# from a separate directory outside the Stow directory or
|
# from a separate directory outside the Stow directory or
|
||||||
# target directory.
|
# target directory.
|
||||||
|
|
Loading…
Reference in a new issue