Skip to content

Commit fe273ec

Browse files
author
szaka
committed
use /dev/urandom for truncate/00.t tests (Sage Weil)
1 parent cc6179b commit fe273ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/truncate/00.t

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ expect 0 truncate ${n0} 567
2222
expect 567 lstat ${n0} size
2323
expect 0 unlink ${n0}
2424

25-
dd if=/dev/random of=${n0} bs=12345 count=1 >/dev/null 2>&1
25+
dd if=/dev/urandom of=${n0} bs=12345 count=1 >/dev/null 2>&1
2626
expect 0 truncate ${n0} 23456
2727
expect 23456 lstat ${n0} size
2828
expect 0 truncate ${n0} 1

0 commit comments

Comments
 (0)