Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use a better algorithm in function absolute_path
For function absolute_path in commonFunctionsForTests.sh, we now use a better algorithm. If the path exists, we use readlink -f to get the absolute path. Otherwise we just replace ~ with $HOME. This avoids issues with paths that don't exist. In the intTestCreate.sh scripts, we make sure to call absolute_path for the root directory again after the root folder is made. Signed-off-by: Bob Yantosca <yantosca@seas.harvard.edu>
- Loading branch information
Showing
3 changed files
with
21 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters