aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/tst-remove-dir-symlink.sh
blob: c524ee69770722f87070ed879a64e97a8848c29b (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 "$test_dest_dir" "$expected_output"

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