diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2019-09-19 10:35:23 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2019-09-19 10:35:23 +0300 |
commit | 6d89905190e5e94033448729908cb8dc3e13edb2 (patch) | |
tree | 23cba166347e5d6137b39cf03f7ec8c2c8eb5414 /.travis | |
parent | Travis: add a badge to README (diff) | |
download | config-links-6d89905190e5e94033448729908cb8dc3e13edb2.tar.gz config-links-6d89905190e5e94033448729908cb8dc3e13edb2.zip |
Travis: tweak test.sh output
Diffstat (limited to '.travis')
-rwxr-xr-x | .travis/test.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/.travis/test.sh b/.travis/test.sh index 0e26002..ad92059 100755 --- a/.travis/test.sh +++ b/.travis/test.sh @@ -21,6 +21,7 @@ test_src_dir= test_dest_dir= new_test() { + echo echo 'New test' test_root_dir="$( mktemp --directory )" @@ -30,6 +31,7 @@ new_test() { echo "Root directory: $test_root_dir" echo "Shared directory: $test_src_dir" echo "%DEST% directory: $test_dest_dir" + echo cp -r -- "$sample_src_dir_path" "$test_src_dir" cp -r -- "$sample_dest_dir_path" "$test_dest_dir" @@ -49,7 +51,9 @@ verify_output() { echo 'Actual directory structure:' echo "$actual_output" - if [ "$actual_output" != "$expected_output" ]; then + if [ "$actual_output" = "$expected_output" ]; then + echo "They match!" + else echo "The actual directory structure does not match the expected directory structure!" >&2 return 1 fi |