1f08c3bdfSopenharmony_ci#! /bin/sh 2f08c3bdfSopenharmony_ci################################################################################ 3f08c3bdfSopenharmony_ci## ## 4f08c3bdfSopenharmony_ci## Copyright (c) Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>, 2009 ## 5f08c3bdfSopenharmony_ci## ## 6f08c3bdfSopenharmony_ci## This program is free software; you can redistribute it and#or modify ## 7f08c3bdfSopenharmony_ci## it under the terms of the GNU General Public License as published by ## 8f08c3bdfSopenharmony_ci## the Free Software Foundation; either version 2 of the License, or ## 9f08c3bdfSopenharmony_ci## (at your option) any later version. ## 10f08c3bdfSopenharmony_ci## ## 11f08c3bdfSopenharmony_ci## This program is distributed in the hope that it will be useful, but ## 12f08c3bdfSopenharmony_ci## WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY ## 13f08c3bdfSopenharmony_ci## or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License ## 14f08c3bdfSopenharmony_ci## for more details. ## 15f08c3bdfSopenharmony_ci## ## 16f08c3bdfSopenharmony_ci## You should have received a copy of the GNU General Public License ## 17f08c3bdfSopenharmony_ci## along with this program; if not, write to the Free Software ## 18f08c3bdfSopenharmony_ci## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ## 19f08c3bdfSopenharmony_ci## ## 20f08c3bdfSopenharmony_ci################################################################################ 21f08c3bdfSopenharmony_ci 22f08c3bdfSopenharmony_cicd ${0%/*} 23f08c3bdfSopenharmony_ciexport PATH=$PWD:${PATH} 24f08c3bdfSopenharmony_ci 25f08c3bdfSopenharmony_ciecho "Testing all. (All results are reported)" 26f08c3bdfSopenharmony_cinewns tomoyo_accept_test 27f08c3bdfSopenharmony_cinewns tomoyo_filesystem_test 28f08c3bdfSopenharmony_cinewns tomoyo_file_test 29f08c3bdfSopenharmony_cinewns tomoyo_rewrite_test 30f08c3bdfSopenharmony_cinewns tomoyo_new_file_test 31f08c3bdfSopenharmony_cinewns tomoyo_new_test 32f08c3bdfSopenharmony_ciecho 33f08c3bdfSopenharmony_ciecho 34f08c3bdfSopenharmony_ciecho 35f08c3bdfSopenharmony_ciecho "Testing all. (Only ERRORS are reported)" 36f08c3bdfSopenharmony_cinewns tomoyo_accept_test | grep -vF Done 37f08c3bdfSopenharmony_cinewns tomoyo_filesystem_test | grep -vF OK | grep -F '(' 38f08c3bdfSopenharmony_cinewns tomoyo_file_test | grep -vF OK | grep -F '(' 39f08c3bdfSopenharmony_cinewns tomoyo_rewrite_test | grep -vF OK | grep -F '(' 40f08c3bdfSopenharmony_cinewns tomoyo_new_test | grep -vF OK 41f08c3bdfSopenharmony_ciecho 42f08c3bdfSopenharmony_ciecho 43f08c3bdfSopenharmony_ciecho 44f08c3bdfSopenharmony_ciecho "Testing policy I/O. (Only ERRORS are reported)" 45f08c3bdfSopenharmony_cinewns tomoyo_policy_io_test | grep -vF OK 46f08c3bdfSopenharmony_cinewns tomoyo_new_file_test | grep -vF OK 47