mirror_zfs/tests/zfs-tests/tests/functional
Nikolay Borisov 8658115c19 Fix do_link portion of ctime test
From the man page of dirname: " Both dirname() and basename()
may modify the contents of path, so it may be desirable to pass
a copy when calling one of these functions." And in fact on linux
using dirname actually changes the contents of the passed parameter as
evident from the following failure when running the ctime test:

link(/root/zfs-mount, /root/zfs-mount/link_file)

Fix this by creating a copy of the input parameter and passing that
to dirname, thus not compromising the original parameter, allowing
the creation of hard link to succeed.

Signed-off-by: Nikolay Borisov <n.borisov.lkml@gmail.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #4977
2016-08-16 15:30:20 -07:00
..
acl Fix ZPL miswrite of default POSIX ACL 2016-04-18 11:26:55 -07:00
atime Add zfs-tests for relatime 2016-04-05 18:56:06 -07:00
bootfs Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
cache Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
cachefile Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
casenorm Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
clean_mirror Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
cli_root Enable zpool_upgrade test cases 2016-07-14 14:05:13 -07:00
cli_user Add zfs allow and zfs unallow support 2016-06-07 09:16:52 -07:00
compression Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
ctime Fix do_link portion of ctime test 2016-08-16 15:30:20 -07:00
delegate Implement large_dnode pool feature 2016-06-24 13:13:21 -07:00
devices Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
exec Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
features Implement large_dnode pool feature 2016-06-24 13:13:21 -07:00
grow_pool Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
grow_replicas Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
history Enable history test cases 2016-07-27 13:38:46 -07:00
inheritance Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
inuse Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
large_files Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
largest_pool Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
link_count Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
migration Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
mmap Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
mount Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
mv_files Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
nestedfs Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
no_space Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
nopwrite Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
online_offline Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
pool_names Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
poolversion Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
privilege Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
quota Expand EDQUOT variable 2016-03-31 09:48:41 -07:00
raidz SIMD implementation of vdev_raidz generate and reconstruct routines 2016-06-21 09:27:26 -07:00
redundancy Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
refquota Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
refreserv Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
rename_dirs Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
replacement remove sanity check in replacement test 2016-04-13 11:30:12 -07:00
reservation Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
rootpool Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
rsend OpenZFS 2605, 6980, 6902 2016-06-28 13:47:02 -07:00
scrub_mirror Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
slog Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
snapshot Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
snapused Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
sparse Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
threadsappend Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
truncate Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
userquota Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
vdev_zaps Per-vdev ZAP tests must use $ZPOOL and $ZDB 2016-05-06 18:13:17 -07:00
write_dirs write_dirs: set_partition expects zero-based partition indeces 2016-03-25 12:09:41 -07:00
xattr Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
zvol Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
Makefile.am SIMD implementation of vdev_raidz generate and reconstruct routines 2016-06-21 09:27:26 -07:00