Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F174393602
D57403.id179123.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
678 B
Referenced Files
None
Subscribers
None
D57403.id179123.diff
View Options
Index: usr.bin/xinstall/tests/install_test.sh
===================================================================
--- usr.bin/xinstall/tests/install_test.sh
+++ usr.bin/xinstall/tests/install_test.sh
@@ -25,6 +25,12 @@
#
#
+atf_test_case incompatible_opts
+incompatible_opts_body() {
+ atf_check -s not-exit:0 -e match:"specified together" \
+ install -s -d dir1
+}
+
atf_test_case copy_to_empty
copy_to_empty_body() {
printf 'test\n123\r456\r\n789\0z' >testf
@@ -549,6 +555,7 @@
}
atf_init_test_cases() {
+ atf_add_test_case incompatible_opts
atf_add_test_case copy_to_empty
atf_add_test_case copy_to_nonexistent
atf_add_test_case copy_to_nonexistent_dir
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Oct 3, 9:26 PM (6 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40154916
Default Alt Text
D57403.id179123.diff (678 B)
Attached To
Mode
D57403: xinstall: Add test for -d -s not allowed together
Attached
Detach File
Event Timeline
Log In to Comment