History log of /external/ltp/testcases/kernel/fs/acls/acl_test01
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
9a362ffe07c6a1b759f65d6a2131589675e279a6 31-May-2016 Cyril Hrubis <chrubis@suse.cz> acl_test01: More fixes.

* Move setup steps to setup()

* Remove useless steps and useless sleep 1

* Remove losetup -d from the cleanup, the device is detached with
the umount -d at that point already

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/fs/acls/acl_test01
6311f0dee6b7936221efa22b209f9596b78f73a4 31-May-2016 Cyril Hrubis <chrubis@suse.cz> acl_test01: Fixes.

* Do not re-execute the whole script as the test user but rather
execute just the test programs

* Get rid of TCbin

* Get rid of useless comments

* Use tst_su -- fixes the test run on Debian

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/fs/acls/acl_test01
ee2d3ee269264198837726304873195134a4232c 30-May-2016 Cyril Hrubis <chrubis@suse.cz> acl_test01: Fix cleanup.

The cleanup was called twice once via trap and once at the end of the
test and since the test was converted to test.sh it should use
TST_CLEANUP instead anyway.

Also add -q to the grep that checks if loop device was mounted or not.

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
Reported-by: Sedat Dilek <sedat.dilek@gmail.com>
/external/ltp/testcases/kernel/fs/acls/acl_test01
20cc1d9ef4b23f73acd68f23988ea73e1185c996 12-Mar-2015 Li Wang <liwang@redhat.com> fs/acls: fix some permission issue in the testcase

* Use 'test.sh'.

* Do some cleanup.

* Remove useless changes.

* Check the getenforce/setenforce command exist or not.

* Waive the consideration of SElinux Disabled or Permitive situation.

Signed-off-by: Li Wang <liwang@redhat.com>
Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/fs/acls/acl_test01
4548c6cf9bcdd96d8303caa4130ab638b61f8a30 19-Oct-2012 Wanlong Gao <gaowanlong@cn.fujitsu.com> Update FSF address

find . -type f -exec sed -i 's/675 Mass Ave, Cambridge, MA 02139, USA/51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA/g' {} \;
find . -type f -exec sed -i 's/59 Temple Place, Suite 330, Boston, MA 02111-1307 USA/51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA/g' {} \;

Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
/external/ltp/testcases/kernel/fs/acls/acl_test01
37550cf5a86c7ca7424a2a318dd64e550f13f5df 18-Oct-2012 Chris Dearman <chris@mips.com> Remove whitespace at end of line

This is a scripted change done using the following command:

find . -type d -name .git -prune -o \
-type f \! -name \*\~ \! -name .\#\* \
\! -name \*.gz \! -name \*.pdf \! -name \*.patch -print0 | \
xargs -0 sed -i -e 's/[\t ]*$//'

Signed-off-by: Chris Dearman <chris@mips.com>
/external/ltp/testcases/kernel/fs/acls/acl_test01
36138adfb4c9fc9b19bd66756ed1a7278400fc32 30-Jun-2011 Garrett Cooper <yanegomi@gmail.com> Fix default test invocation.

The default value for $TEST_USER1_HOMEDIR points to an absolute path,
not a relative path. This doesn't fix all cases -- just the absolute
path case.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
/external/ltp/testcases/kernel/fs/acls/acl_test01
4a5a43632b8057863ac8d3e77e8e118350155476 11-May-2011 Garrett Cooper <yanegomi@gmail.com> Fix loopback detection.

Noticed by Po-Yu Chang (ratbert <AT> faraday-tech <DOT> com).

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/kernel/fs/acls/acl_test01
8985355483d017965e04a55c8d054477a1f255ff 03-Oct-2010 Garrett Cooper <yanegomi@gmail.com> Fix loopback device command invocation.

The loop_dev command doesn't exist in the script; losetup is the command
that should be used.

Signed-off-by: Jacky Malcles <jacky.malcles@bull.net>
/external/ltp/testcases/kernel/fs/acls/acl_test01
6518012db8b99b04ef3e4df22aefe82fa487b809 27-Feb-2010 Rishikesh K Rajak <risrajak@linux.vnet.ibm.com> Hi

Here's a patch to correct some typos.

Signed-off-by Mohamed Naufal Basheer <naufal11@gmail.com>
Acked-By Rishikesh K Rajak <risrajak@linux.vnet.ibm.com>
/external/ltp/testcases/kernel/fs/acls/acl_test01
53786432b7db7d066563c42e0d87df755dbbf321 17-Feb-2010 gcooper <gcooper@orangebox.(none)> acl_test01 today...
1. Should use $TMP.
2. Should use tst_resm today.
3. Should exit 0 on setup failure.
4. Doesn't cleanup in the event of a test failure.
5. Has a hardcoded loopback device instead of looking for the next
available one via losetup -f.
6. Other stylistic nits:
a. [ $? != 0 ] -> [ $? -ne 0 ]
b. Incorrect whitespace conventions / indentation issues.
c. Etc...

This test will need to be enhanced [still] to support non-ext2 //
-ext3 filesystems (my kernel only supports ext4 fs's for instance...).

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/kernel/fs/acls/acl_test01
296ffa5c9b708d077ef4820332b881cc72fac041 26-Oct-2009 subrata_modak <subrata_modak> Fix some bashisms: this is another patch fixing bashisms in LTP tests (the fixes are more or less the same as in the previous patches, except for a few exceptions). Note that the patch is not complete, in the sense that there may remain further bashisms in the source even after applying the patch (like use of arrays, which is visible even from this patch). Signed-off-by: Jiri Palecek <jpalecek@web.de>.
/external/ltp/testcases/kernel/fs/acls/acl_test01
5b996461c0b0c076ff0591de64a58462f4bccc99 09-Sep-2009 subrata_modak <subrata_modak> runltp can not run acl_test01 by default, we need a mounted partition with ACL options. To have acl_test01 started by runltp (or manually) without any acl aware partition, if you agree I suggest the following patch: a kind of new setup and at the same time the activation of a non root user. Signed-off-by: JACKY MALCLES <Jacky.Malcles@bull.net>.
/external/ltp/testcases/kernel/fs/acls/acl_test01
e3b437497f51dd8b54147197fc9ae902f4d38bf0 23-Jun-2009 subrata_modak <subrata_modak> Don't overwrite the exit code with junk value in acl_test01: the variable EXIT_CODE which contains the result of acl01 test, is overwritten at the end of the test. This patch makes it preserve the correct value. Signed-off-by: Jiri Palecek <jpalecek@web.de>.
/external/ltp/testcases/kernel/fs/acls/acl_test01
39552a0e2358f86ae27297db3c530fca98c2d5a9 21-Oct-2008 subrata_modak <subrata_modak> Fix some bashisms. Jiri Palecek <jpalecek@web.de>.
/external/ltp/testcases/kernel/fs/acls/acl_test01
d9146c802baf24ccddee023a197221523be80223 22-Sep-2008 subrata_modak <subrata_modak> I am not sure why runtest/admin_tools was kept outside the perview of LTP default run. I found no issues in running it as normally as other LTP tests. Please let me know if some of you have some problem running it as default. Also included are some changes for running fs_acls tests. Signed-Off-By: Subrata Modak <subrata@linux.vnet.ibm.com>.
/external/ltp/testcases/kernel/fs/acls/acl_test01
e17d7ead7c2d94bf166c36f36eedff5b07fbef91 22-Jun-2004 robbiew <robbiew> Applied patch from Jacky Malcles:
=================================
...though the testcase is working the second part "TESTING ACLS FOR 2ND
USER"
(non root user) may be improved, as it just checks whether xattrs are
or aren't defined (it is not using the existing code)

I suggest a change:
for 2ND USER execute same basic testcases as for ROOT
( + a few aesthetic changes)
==================================
/external/ltp/testcases/kernel/fs/acls/acl_test01
6835b2fe3fd8df1d4483d2a86586c0d4880a58aa 21-Apr-2004 robbiew <robbiew> Relocated acls directory from /admin_tools to /kernel/fs
/external/ltp/testcases/kernel/fs/acls/acl_test01