diff options
| author | Alan Somers <asomers@FreeBSD.org> | 2017-06-12 14:54:59 +0000 |
|---|---|---|
| committer | Alan Somers <asomers@FreeBSD.org> | 2017-06-12 14:54:59 +0000 |
| commit | e61b0afc1c8e04f5e0013d340f373e6a863ebf6f (patch) | |
| tree | 660051078b967dc42b66d13dd427100ecc993e52 /bin | |
| parent | 83b6064de17f154d0b7d9d3355d5c745bd812104 (diff) | |
Notes
Diffstat (limited to 'bin')
| -rw-r--r-- | bin/ln/tests/ln_test.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/ln/tests/ln_test.sh b/bin/ln/tests/ln_test.sh index f059f56c950a..7d878c3cd913 100644 --- a/bin/ln/tests/ln_test.sh +++ b/bin/ln/tests/ln_test.sh @@ -98,6 +98,7 @@ target_exists_hard_head() target_exists_hard_body() { + set_umask atf_check touch A B atf_check -s exit:1 -e inline:'ln: B: File exists\n' \ ln A B @@ -112,6 +113,7 @@ target_exists_symbolic_head() target_exists_symbolic_body() { + set_umask atf_check touch A B atf_check -s exit:1 -e inline:'ln: B: File exists\n' \ ln -s A B @@ -155,6 +157,7 @@ sf_flag_head() sf_flag_body() { + set_umask atf_check touch A B atf_check ln -sf A B atf_check -o inline:'B: symbolic link to A\n' file B |
