Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Nov 2008 19:57:16 +0000 (UTC)
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r185220 - head/tools/regression/fstest/tests/open
Message-ID:  <200811231957.mANJvG2o062367@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pjd
Date: Sun Nov 23 19:57:16 2008
New Revision: 185220
URL: http://svn.freebsd.org/changeset/base/185220

Log:
  Shorter version.

Modified:
  head/tools/regression/fstest/tests/open/16.t

Modified: head/tools/regression/fstest/tests/open/16.t
==============================================================================
--- head/tools/regression/fstest/tests/open/16.t	Sun Nov 23 19:56:40 2008	(r185219)
+++ head/tools/regression/fstest/tests/open/16.t	Sun Nov 23 19:57:16 2008	(r185220)
@@ -12,18 +12,8 @@ n0=`namegen`
 n1=`namegen`
 
 expect 0 symlink ${n0} ${n1}
-case "${os}" in
-SunOS)
-	expect ELOOP open ${n1} O_RDONLY,O_CREAT,O_NOFOLLOW 0644
-	expect ELOOP open ${n1} O_RDONLY,O_NOFOLLOW
-	expect ELOOP open ${n1} O_WRONLY,O_NOFOLLOW
-	expect ELOOP open ${n1} O_RDWR,O_NOFOLLOW
-	;;
-*)
-	expect EMLINK open ${n1} O_RDONLY,O_CREAT,O_NOFOLLOW 0644
-	expect EMLINK open ${n1} O_RDONLY,O_NOFOLLOW
-	expect EMLINK open ${n1} O_WRONLY,O_NOFOLLOW
-	expect EMLINK open ${n1} O_RDWR,O_NOFOLLOW
-	;;
-esac
+expect "EMLINK|ELOOP" open ${n1} O_RDONLY,O_CREAT,O_NOFOLLOW 0644
+expect "EMLINK|ELOOP" open ${n1} O_RDONLY,O_NOFOLLOW
+expect "EMLINK|ELOOP" open ${n1} O_WRONLY,O_NOFOLLOW
+expect "EMLINK|ELOOP" open ${n1} O_RDWR,O_NOFOLLOW
 expect 0 unlink ${n1}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811231957.mANJvG2o062367>