summaryrefslogtreecommitdiffstatshomepage
path: root/test/local/tst-chmod.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/local/tst-chmod.sh')
-rw-r--r--test/local/tst-chmod.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/local/tst-chmod.sh b/test/local/tst-chmod.sh
index c28c55b..2d70e06 100644
--- a/test/local/tst-chmod.sh
+++ b/test/local/tst-chmod.sh
@@ -1,8 +1,8 @@
test_run() {
# Test that links-chmod works.
- 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
@@ -12,12 +12,12 @@ $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"
echo
echo 'Verifying 1.txt (the shared file) permissions...'
- verify_mode 0644 "$test_src_dir/%DEST%/1.txt"
- call_chmod 0600
- verify_mode 0600 "$test_src_dir/%DEST%/1.txt"
+ test_verify_mode 0644 "$test_src_dir/%DEST%/1.txt"
+ test_run_chmod 0600
+ test_verify_mode 0600 "$test_src_dir/%DEST%/1.txt"
}