aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/local/tst-update.sh
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-09-22 13:25:39 +0500
committerEgor Tensin <egor@tensin.name>2026-09-22 13:25:39 +0500
commit180da14d61791c6eafda0aa9686f9255dcfb5ffd (patch)
tree1680c38caace975375f0dc319677d807b3de25fd /test/local/tst-update.sh
parenttest/local: split test.sh into many files (diff)
downloadconfig-links-180da14d61791c6eafda0aa9686f9255dcfb5ffd.tar.gz
config-links-180da14d61791c6eafda0aa9686f9255dcfb5ffd.zip
test/local: refactor things a little bit
Diffstat (limited to 'test/local/tst-update.sh')
-rw-r--r--test/local/tst-update.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/local/tst-update.sh b/test/local/tst-update.sh
index 644114d..df22b71 100644
--- a/test/local/tst-update.sh
+++ b/test/local/tst-update.sh
@@ -2,8 +2,8 @@ test_run() {
# Basic test to make sure that links-update actually creates the proper
# symlinks.
- new_test
- call_update
+ test_setup
+ test_run_update
local expected_output="$test_dest_dir->
$test_dest_dir/1.txt->$test_src_dir/%DEST%/1.txt
@@ -14,5 +14,5 @@ $test_dest_dir/bar/baz/4.txt->$test_src_dir/%DEST%/bar/baz/4.txt
$test_dest_dir/foo->
$test_dest_dir/foo/2.txt->$test_src_dir/%DEST%/foo/2.txt"
- verify_output "$expected_output"
+ test_verify_output "$expected_output"
}