19b4f0dca0
Restore the original behavior of unlink(1), passing the provided filename directly to unlink(2), handling the first argument being "--" correctly. This fixes "unlink -foo", broken in r97533. PR: 228448 Submitted by: Brennan Vincent <brennan@umanwizard.com> (original version) Submitted by: Yuri Pankov Reported by: Brennan Vincent <brennan@umanwizard.com> Reviewed by: emaste, kevans, vangyzen, 0mp Approved by: re (delphij) Differential Revision: https://reviews.freebsd.org/D17132
6 lines
61 B
Makefile
6 lines
61 B
Makefile
# $FreeBSD$
|
|
|
|
ATF_TESTS_SH+= rm_test
|
|
|
|
.include <bsd.test.mk>
|