Lines Matching full:link
42 atf_set "descr" "Verify that when creating a hard link to a " \
43 "symbolic link, '-L' option creates a hard" \
44 "link to the target of the symbolic link"
58 atf_set "descr" "Verify that when creating a hard link to a " \
59 "symbolic link, '-P' option creates a hard " \
60 "link to the symbolic link itself"
74 "'-f' option unlinks it so that link may occur"
86 atf_set "descr" "Verify whether creating a hard link fails if the " \
99 atf_set "descr" "Verify whether creating a symbolic link fails if " \
112 "link, '-shf' option prevents following the link"
126 "link, '-snf' option prevents following the link"
141 "it so that the link may occur"
154 "'-sf' option unlinks it and creates a symbolic link " \
169 "it so that the link may occur"
183 atf_set "descr" "Verify that '-s' option creates a symbolic link"
196 "option creates a broken symbolic link to the source file"
208 "source of a symbolic link does not currently exist"
219 atf_set "descr" "Verify that link(1) requires exactly two arguments"
222 atf_check -s exit:1 -e match:"usage: link" \
223 link foo
225 link foo bar
227 link -- foo bar
228 atf_check -s exit:1 -e match:"usage: link" \
229 link foo bar baz
234 atf_set "descr" "Verify that link(1) creates a link"
238 atf_check link foo bar
242 atf_check link bar baz
248 atf_set "descr" "Verify that link(1) fails if the target exists"
253 link foo bar
256 link foo baz
261 atf_set "descr" "Verify that link(1) fails if the source is a directory"
266 link foo bar
269 link bar baz