``` $ echo a > a.txt $ cp -s -l a.txt b; echo $? ``` GNU: ``` cp: cannot make both hard and symbolic links Try 'cp --help' for more information. 1 ``` uutils exits 0 and creates `b`. Reported in #15254 (found by a differential fuzzer; reproduced against GNU coreutils 9.12).
Activity
tests: cp: ensure cp rejects --link combined with --symbolic-link
tests: cp: ensure cp rejects --link combined with --symbolic-link
tests: cp: ensure cp rejects --link combined with --symbolic-link