summaryrefslogtreecommitdiffstatshomepage
path: root/test/local/tst-update-chmod.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/local/tst-update-chmod.sh')
-rw-r--r--test/local/tst-update-chmod.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/local/tst-update-chmod.sh b/test/local/tst-update-chmod.sh
index 3f83f0f..8873c82 100644
--- a/test/local/tst-update-chmod.sh
+++ b/test/local/tst-update-chmod.sh
@@ -1,9 +1,9 @@
test_run() {
# Test that links-update --mode works.
- new_test
+ test_setup
local expected_mode='0622'
- call_update --mode "$expected_mode"
+ test_run_update --mode "$expected_mode"
local expected_output="$test_dest_dir->
$test_dest_dir/1.txt->$test_src_dir/%DEST%/1.txt
@@ -13,7 +13,7 @@ $test_dest_dir/bar/baz->
$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"
- verify_mode "$expected_mode" "$test_src_dir/%DEST%/1.txt"
+ test_verify_mode "$expected_mode" "$test_src_dir/%DEST%/1.txt"
}