diff options
Diffstat (limited to 'test/local/tst-remove-does-not-overwrite-files.sh')
| -rw-r--r-- | test/local/tst-remove-does-not-overwrite-files.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/local/tst-remove-does-not-overwrite-files.sh b/test/local/tst-remove-does-not-overwrite-files.sh index cb51eb9..14641de 100644 --- a/test/local/tst-remove-does-not-overwrite-files.sh +++ b/test/local/tst-remove-does-not-overwrite-files.sh @@ -2,19 +2,19 @@ test_run() { # Check that if a user overwrites a symlink with his own file, links-remove # keeps it. - new_test - call_update + test_setup + test_run_update # Simulate a user overwriting one of the symlinks with his own file. rm -- "$test_dest_dir/bar/3.txt" echo 'User content' > "$test_dest_dir/bar/3.txt" - call_remove + test_run_remove # 3.txt must be kept: local expected_output="$test_dest_dir-> $test_dest_dir/bar-> $test_dest_dir/bar/3.txt->" - verify_output "$expected_output" + test_verify_output "$expected_output" } |
