• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/usr.sbin/etcupdate/tests/

Lines Matching defs:link

112 		ln -s "bar" $i/equal/equal/equal/link
121 ln -s "bar" $i/equal/first/first/link
134 # link. Nothing should happen.
136 ln -s "foo" $i/equal/difflinks/difflinks/link
138 ln -s "bar" $TEST/equal/difflinks/difflinks/link
153 ln -s "bar" $i/first/equal/second/link
166 ln -s "bar" $OLD/first/first/equal/link
182 # /first/difflinks/second: Modified link removed. Should
184 ln -s "old link" $OLD/first/difflinks/second/link
185 ln -s "test link" $TEST/first/difflinks/second/link
202 ln -s "new" $NEW/second/equal/first/link
220 ln -s "bar" $i/second/second/equal/link
235 # /second/second/difflinks: Newly added link conflicts with
236 # existing link in test tree. Should generate a warning.
237 ln -s "new link" $NEW/second/second/difflinks/link
238 ln -s "test link" $TEST/second/second/difflinks/link
309 # non-link to a link in both the new and test trees, but the
311 # generate a new link conflict.
312 mkfifo $OLD/difftype/difftype/difflinks/link
313 ln -s "new" $NEW/difftype/difftype/difflinks/link
314 ln -s "test" $TEST/difftype/difftype/difflinks/link
325 # changed. The link should be updated.
327 ln -s "old" $i/difflinks/equal/difflinks/link
329 ln -s "new" $NEW/difflinks/equal/difflinks/link
334 # /difflinks/first/first: A modified link is missing in the
336 ln -s "old" $OLD/difflinks/first/first/link
337 ln -s "new" $NEW/difflinks/first/first/link
343 # /difflinks/second/*: Cannot happen. The old link is present
347 # /difflinks/difftype/difftype: An updated link has been
350 ln -s "old" $OLD/difflinks/difftype/difftype/link
351 ln -s "new" $NEW/difflinks/difftype/difftype/link
352 echo "test" > $TEST/difflinks/difftype/difftype/link
355 # are both links and the test file is not a link, so the third
358 # /difflinks/difflinks/equal: An updated link has already been
361 ln -s "old" $OLD/difflinks/difflinks/equal/link
363 ln -s "new" $i/difflinks/difflinks/equal/link
366 # /difflinks/difflinks/difflinks: An updated link has been
369 ln -s "old" $OLD/difflinks/difflinks/difflinks/link
370 ln -s "new" $NEW/difflinks/difflinks/difflinks/link
371 ln -s "test" $TEST/difflinks/difflinks/difflinks/link
378 # link in the first test, so it cannot be a regular file in
420 # link in the second test.
689 # $2 - optional value of the link
690 link()
695 echo "File $1 should be a link"
700 echo "Link $1 should link to \"$2\""
758 link /equal/equal/equal/link "bar"
764 missing /equal/first/first/link
768 link /equal/difftype/difftype/fromdir "test"
771 link /equal/difflinks/difflinks/link "bar"
780 missing /first/equal/second/link
787 missing /first/first/equal/link
793 link /first/difflinks/second/link "test link"
801 link /second/equal/first/link "new"
809 link /second/second/equal/link "bar"
815 link /second/second/difflinks/link "test link"
822 link /difftype/equal/difftype/file "test"
835 link /difftype/difftype/difftype/two "bar"
838 link /difftype/difftype/difflinks/link "test"
845 link /difflinks/equal/difflinks/link "new"
848 missing /difflinks/first/first/link
851 file /difflinks/difftype/difftype/link "test"
854 link /difflinks/difflinks/equal/link "new"
857 link /difflinks/difflinks/difflinks/link "test"
952 D /first/equal/second/link
961 U /difflinks/equal/difflinks/link
977 A /second/equal/first/link
982 Modified symbolic link remains: /first/difflinks/second/link
989 Modified link changed: /difflinks/difflinks/difflinks/link ("old" became "new")
990 Modified mismatch: /difflinks/difftype/difftype/link (symbolic link vs regular file)
991 Removed link changed: /difflinks/first/first/link ("old" became "new")
992 New link conflict: /difftype/difftype/difflinks/link ("new" vs "test")
994 Modified symbolic link changed: /difftype/difftype/difftype/two (directory became regular file)
997 Modified directory changed: /dirchange/fromdir/extradir (directory became symbolic link)
1004 New link conflict: /second/second/difflinks/link ("new link" vs "test link")