generic/035: Create new outfile for NFS

Rename-overwrites over NFS work with a "silly rename" over the
network, so the nlink count stays at 1 instead of dropping to 0.
This is expected behavior for NFS, so we should use a different
golden output file to account for this.

 See the NFS faq at: nfs.sourceforge.net/#faq_d2 for more
 information about silly renames.

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
Anna Schumaker
2019-10-18 13:33:42 -04:00
committed by Eryu Guan
parent d28bf722e0
commit 71bbff2a93
6 changed files with 12 additions and 1 deletions
+1 -1
View File
@@ -2860,7 +2860,7 @@ _link_out_file()
local features
if [ $# -eq 0 ]; then
features="$(_get_os_name)"
features="$(_get_os_name),$FSTYP"
if [ -n "$MOUNT_OPTIONS" ]; then
features=$features,${MOUNT_OPTIONS##"-o "}
fi