platform/core/test/security-tests.git
11 years agoVerify proper handling of symlinks by set_app_privilege().
Rafal Krypa [Tue, 5 Feb 2013 16:20:56 +0000 (17:20 +0100)]
Verify proper handling of symlinks by set_app_privilege().

[Issue#]       SSDWSSP-80
[Feature]      Verify proper handling of symlinks by set_app_privilege().
[Cause]        Requirements about following symlinks for Smack exec labels have been given.
[Solution]     Use symlink for running app, label symlink and its target differently.
[Verification] Build, install, run libprivilege-control tests.

Change-Id: Ia6fd9c76538a55e44f19c410b36f0ee535d08f0a

11 years agolibprivilege-control-tests: rewrite test of app_label_dir(), new test for app_label_s...
Rafal Krypa [Tue, 5 Feb 2013 15:35:46 +0000 (16:35 +0100)]
libprivilege-control-tests: rewrite test of app_label_dir(), new test for app_label_shared_dir()

[Issue#]       SSDWSSP-70
[Feature]      Tests for new libprivilege-control API.
[Cause]        New API requested by Bumjin.
[Solution]     Two new tests added.
[Verification] Build, install, run libprivilege-control tests.

Change-Id: Ic487fb83ec82e63b9e696b8c9ade60cd9f8089cb

11 years agolibsmack-tests: change expected result for revoking unknown subject.
Rafal Krypa [Fri, 1 Feb 2013 16:49:21 +0000 (17:49 +0100)]
libsmack-tests: change expected result for revoking unknown subject.

[Issue#]       N/A
[Bug]          Libsmack test expects revoking of unknown subject to fail.
[Cause]        That behaviour was present in kernel, but improper.
[Solution]     Expect revoke to succeed. The kernel has been fixed already.
[Verification] Build, install, run libsmack tests.

Change-Id: Ib0d9e3b3564288f6c4f32398545e1ef8325d5850

11 years agoAdd security-server tests to security-tests-all.sh script.
Bartlomiej Grzelewski [Tue, 5 Feb 2013 10:59:25 +0000 (11:59 +0100)]
Add security-server tests to security-tests-all.sh script.

[Issue#]   SSDWSSP-62
[Casue]    N/A
[Problem]  New tests have been added to security-server.
           All these tests should be run by security-test-all.sh
           script.
[Solution] Add tests to scripts.

[Verification] Run security-tests-all.sh script - additional test
           suites should be executed.

Change-Id: I2b166f1a6061e8394ebaea4f3d4da906070e0330

11 years agosecurity-server tests on DPL framework
Mariusz Domanski [Wed, 23 Jan 2013 09:41:37 +0000 (10:41 +0100)]
security-server tests on DPL framework

based on security_server_tests form security-server repository

[Issue] N/A
[Bug] N/A
[Cause] N/A
[Solution] N/A
[Verification] Build and run tests. The new tests are named security-server-tests*

Change-Id: I2dd47aad5363e7c595f7df03a46899638ec7f5bb

11 years agoAdd smack and libprivilege-control tests to security-tests.
Bartlomiej Grzelewski [Fri, 1 Feb 2013 10:19:13 +0000 (11:19 +0100)]
Add smack and libprivilege-control tests to security-tests.

Remove vcore, cert-svc, ace, security-daemon tests from security-tests.

[Issue#]   SSDWSSP-62
[Bug]      N/A
[Problem]  N/A
[Solution] N/A

Change-Id: I9ba672e49bfdbea51bf360c4ce20945d8dd7fe54

11 years agoAdded libprivilege-control set_app_privilege tests.
Jan Olszak [Fri, 25 Jan 2013 15:14:27 +0000 (16:14 +0100)]
Added libprivilege-control set_app_privilege tests.

[Issue] N/A
[Bug] N/A
[Cause] N/A
[Solution] N/A
[Verification] Build, run tests: security-tests.sh pc --output=text

Change-Id: I2bc6ed25e250d0f54d1939683b2f11c6017d927f

11 years agoAdded libprivilege-control tests.
Jan Olszak [Fri, 18 Jan 2013 13:38:16 +0000 (14:38 +0100)]
Added libprivilege-control tests.

[Issue] N/A
[Bug] N/A
[Cause] N/A
[Solution] N/A
[Verification] Build, run tests: security-tests.sh pc --output=text

Change-Id: I98e81ccf506ed29d9ec79a336b8ee2990d9524b8

11 years agoAdded test cases for smack_accesses_add_modify() from libsmack
Jan Olszak [Tue, 22 Jan 2013 15:46:46 +0000 (16:46 +0100)]
Added test cases for smack_accesses_add_modify() from libsmack

[Issue] N/A
[Bug] N/A
[Cause] N/A
[Solution] N/A
[Verification] Build and run tests. The new tests are named smack_accesses_add_modify_test.

Change-Id: Ie8043840dd2ceca97af9c333f95f5c0c7229a063

11 years agoMoved SMACK test from wrt-security repository.
Pawel Polawski [Fri, 11 Jan 2013 10:58:59 +0000 (11:58 +0100)]
Moved SMACK test from wrt-security repository.

[Issue#]        LINUXSWAP-444
[Cause]         Move SMACK tests to new security-tests repository.
[Problem]       SMACK tests must be removed from wrt-security.
[Solution]      SMACK tests moved to security-tests repository.

[Verification]  Succesfuul compilation and run SMACK tests.

Change-Id: Ia54493b989e8cc3eca0b68dbecc316dbd68abf0b

11 years agoInitial empty repository
Jung Minsun [Fri, 11 Jan 2013 08:30:56 +0000 (17:30 +0900)]
Initial empty repository