Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153449831
D7609.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
636 B
Referenced Files
None
Subscribers
None
D7609.diff
View Options
Index: head/bin/ls/tests/ls_tests.sh
===================================================================
--- head/bin/ls/tests/ls_tests.sh
+++ head/bin/ls/tests/ls_tests.sh
@@ -84,6 +84,14 @@
{
create_test_dir
+ if ! getconf MIN_HOLE_SIZE "$(pwd)"; then
+ echo "getconf MIN_HOLE_SIZE $(pwd) failed; sparse files probably" \
+ "not supported by file system"
+ mount
+ atf_skip "Test's work directory does not support sparse files;" \
+ "try with a different TMPDIR?"
+ fi
+
for filesize in 1 512 $(( 2 * $KB )) $(( 10 * $KB )) $(( 512 * $KB )); \
do
atf_check -e ignore -o empty -s exit:0 \
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 22, 6:03 AM (14 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31957622
Default Alt Text
D7609.diff (636 B)
Attached To
Mode
D7609: Skip ls tests that use sparse files if these are not supported.
Attached
Detach File
Event Timeline
Log In to Comment