busybox testsuite on non-linux

Michael Tokarev mjt at tls.msk.ru
Mon Dec 9 14:37:28 UTC 2013


09.12.2013 17:51, Michael Tokarev пишет:

Forgot to comment on this:

>  tar symlinks mode (both kfreebsd and hurd)
>  --- expected
>  +++ actual
>  @@ -1,9 +1,9 @@
>   input_dir/input_file
>  -input_dir/input_soft -> input_file
>  +input_dir/input_soft -> input_dir/input_file
>   input_file -> input_dir/input_file
>  -input_soft -> input_dir/input_soft
>  +input_soft -> input_file
>   Ok: 0
>   -rwxr----x input_dir/input_file
>  -lrwxrwxrwx input_file
>  +-rwxr----x input_dir/input_soft
>   -rwxr----x input_file
>  -lrwxrwxrwx input_file
>  +lrwxr-xr-x input_file

On both kfreebsd and hurd,  ln <symlink> directory/ performs
the linking of the _target_ of the symlink, not the symlink
itself.

So while in this test, we expect input_dir/input_soft to be
a symlink (hardlinked with input_soft), it actually is a
hardlink with input_file.


Thanks,

/mjt



More information about the busybox mailing list