svn commit: r366925 - user/pho/stress2/misc
Peter Holm
pho at FreeBSD.org
Thu Oct 22 06:43:48 UTC 2020
Author: pho
Date: Thu Oct 22 06:43:48 2020
New Revision: 366925
URL: https://svnweb.freebsd.org/changeset/base/366925
Log:
Update test to reflect change in r366549.
Modified:
user/pho/stress2/misc/beneath2.sh
Modified: user/pho/stress2/misc/beneath2.sh
==============================================================================
--- user/pho/stress2/misc/beneath2.sh Thu Oct 22 05:07:25 2020 (r366924)
+++ user/pho/stress2/misc/beneath2.sh Thu Oct 22 06:43:48 2020 (r366925)
@@ -61,6 +61,7 @@ cd $mntpoint
ln -s /tmp/justalongname symlink
$dir/beneath2 symlink
s=$?
+echo "Exit code is $s"
[ -f beneath2.core -a $s -eq 0 ] &&
{ ls -l beneath2.core; mv beneath2.core $dir; s=1; }
cd $odir
@@ -95,7 +96,8 @@ main(int argc, char *argv[])
exit(1);
}
file = argv[1];
- if ((fd = open(file, O_RDONLY | O_BENEATH)) != 0 && errno != ENOENT)
+ if ((fd = open(file, O_RDONLY | O_BENEATH)) != 0 &&
+ errno != ENOTCAPABLE)
err(1, "open(%s)", file);
return (0);
More information about the svn-src-user
mailing list