mirror of
https://github.com/telephone/LookingGlass.git
synced 2026-04-25 07:56:01 +03:00
[GH-ISSUE #8] Alternative method to create test files #8
Labels
No labels
enhancement
enhancement
enhancement
pull-request
v1
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/LookingGlass#8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @telephone on GitHub (Nov 14, 2012).
Original GitHub issue: https://github.com/telephone/LookingGlass/issues/8
For those who host their test files behind SSL or gzip, sparse files can be compressed giving the illusion of a "quicker than possible speed".
To alleviate this problem, offer an alternative way to create test files:
head -c 100MB /dev/urandom > 100MB.testInstead of a sparse file (empty file) via DD, head will create a file populated file via urandom.
The result is a file which shouldn't be compressible.
Add a warning for file creation time:
It takes roughly 30 seconds to create a 100 MB file.
@telephone commented on GitHub (Apr 28, 2013):
Released in v2.
Test files are created via
shred, and are quicker to populate versushead... They are also gzip/ssl compression safe.