Skip to content

Commit

Permalink
OpenZFS 9004 - Some ZFS tests used files removed with 32 bit kernel
Browse files Browse the repository at this point in the history
Authored by: John Wren Kennedy <john.kennedy@delphix.com>
Reviewed by: Igor Kozhukhov <igor@dilos.org>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed by: George Melikov <mail@gmelikov.ru>
Approved by: Dan McDonald <danmcd@joyent.com>
Ported-by: Giuseppe Di Natale <dinatale2@llnl.gov>

OpenZFS-issue: https://www.illumos.org/issues/9004
OpenZFS-commit: openzfs/openzfs@fafe9b241f
Closes #7149
  • Loading branch information
jwk404 authored and behlendorf committed Feb 9, 2018
1 parent 1334283 commit ba779f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions tests/zfs-tests/include/commands.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
export SYSTEM_FILES='arp
awk
attr
base64
basename
bc
blkid
Expand Down
4 changes: 2 additions & 2 deletions tests/zfs-tests/tests/functional/rsend/send-cD.ksh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#

#
# Copyright (c) 2015 by Delphix. All rights reserved.
# Copyright (c) 2015, 2018 by Delphix. All rights reserved.
#

. $STF_SUITE/tests/functional/rsend/rsend.kshlib
Expand Down Expand Up @@ -46,7 +46,7 @@ log_must zfs create -o compress=lz4 $sendfs
log_must zfs create -o compress=lz4 $recvfs
typeset dir=$(get_prop mountpoint $sendfs)
# Don't use write_compressible: we want compressible but undedupable data here.
log_must file_write -o overwrite -f $dir/file -d R -b 4096 -c 1000
log_must eval "dd if=/dev/urandom bs=1024k count=4 | base64 >$dir/file"
log_must zfs snapshot $sendfs@snap0
log_must eval "zfs send -D -c $sendfs@snap0 >$stream0"

Expand Down

0 comments on commit ba779f7

Please sign in to comment.