aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/local/tst-remove-dir-symlink.sh
blob: ae32250f7fc20d1adbf71ba1984ecceb872c52b5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
test_run() {
    # Test that links-remove works for directory symlinks inside --shared-dir.

    test_setup_dir_symlink
    test_run_update
    test_run_remove

    local expected_output="$test_dest_dir->"
    test_verify_output "$expected_output"

    expected_output="$test_alt_dest_dir->"
    test_verify_output "$expected_output" "$test_alt_dest_dir"
}