Bug 210184 - usr.sbin/extattr testcases don't work on tmpfs because tmpfs doesn't support ACLs
Summary: usr.sbin/extattr testcases don't work on tmpfs because tmpfs doesn't support ...
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: tests (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Some People
Assignee: Alan Somers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-10 05:39 UTC by Enji Cooper
Modified: 2016-06-13 22:04 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Enji Cooper freebsd_committer 2016-06-10 05:39:15 UTC
Repro:

mount -t tmpfs tmpfs /tmp
kyua test -k /usr/tests/usr.sbin/extattr/Kyuafile

Expected result:

The testcases should be skipped on tmpfs because ACL support isn't available on the filesystem.

Actual result:

The testcases fail errantly.
Comment 1 commit-hook freebsd_committer 2016-06-13 22:01:29 UTC
A commit references this bug:

Author: asomers
Date: Mon Jun 13 22:00:44 UTC 2016
New revision: 301874
URL: https://svnweb.freebsd.org/changeset/base/301874

Log:
  Fix usr.sbin/extattr testcases on tmpfs

  Skip the usr.sbin/extattr testscases if $TMPDIR is tmpfs, which doesn't
  support extended attributes

  PR:		210184
  Reported by:	ngie
  Reviewed by:	ngie
  Approved by:	re (glebius)
  MFC after:	4 weeks
  Differential Revision:	https://reviews.freebsd.org/D6802
  Sponsored by:	Spectra Logic Corp

Changes:
  head/usr.sbin/extattr/tests/extattr_test.sh