aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/unit
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-02-02 18:46:31 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2023-02-02 18:48:41 +0100
commitba19f5478917cd8b92c81f22e425a7407f98e995 (patch)
tree3f76d324e2ab6b3e5367ee61b0378a838713336e /test/unit
parenttest/unit: fix path to links-* tools (diff)
downloadconfig-links-ba19f5478917cd8b92c81f22e425a7407f98e995.tar.gz
config-links-ba19f5478917cd8b92c81f22e425a7407f98e995.zip
fix Docker tests
Diffstat (limited to 'test/unit')
-rwxr-xr-xtest/unit/test.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/unit/test.sh b/test/unit/test.sh
index c7645ea..f693aa1 100755
--- a/test/unit/test.sh
+++ b/test/unit/test.sh
@@ -417,7 +417,18 @@ $test_dest_dir/foo/2.txt->$test_src_dir/%DEST%/foo/2.txt"
verify_mode "$expected_mode" "$test_src_dir/%DEST%/1.txt"
}
+show_env() {
+ echo
+ echo ======================================================================
+ echo Environment
+ echo ======================================================================
+
+ bash --version
+}
+
main() {
+ show_env
+
test_update_works
test_remove_works
test_remove_does_not_overwrite_files