Open-Source-Software-Entwicklung und Downloads

Browse Subversion Repository

Diff of /trunk/1.6.x/ccs-tools/ccstools/kernel_test/ccs_policy_io_test.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1282 by kumaneko, Tue Apr 1 01:40:33 2008 UTC revision 1283 by kumaneko, Wed Jun 11 01:45:23 2008 UTC
# Line 5  Line 5 
5   *   *
6   * Copyright (C) 2005-2008  NTT DATA CORPORATION   * Copyright (C) 2005-2008  NTT DATA CORPORATION
7   *   *
8   * Version: 1.6.0   2008/04/01   * Version: 1.6.2-pre   2008/06/11
9   *   *
10   */   */
11  #include "include.h"  #include "include.h"
# Line 120  static void StagePolicyIOTest(void) { Line 120  static void StagePolicyIOTest(void) {
120          fd = open(policy_file, O_WRONLY);          fd = open(policy_file, O_WRONLY);
121          for (i = 0; i < 3; i++) {          for (i = 0; i < 3; i++) {
122                  try_io("allow_read /tmp/abc", 1);                  try_io("allow_read /tmp/abc", 1);
123                  try_io("allow_read /tmp/abc\\*", 0);                  try_io("allow_read /tmp/abc\\*", 1);
124                  try_io("allow_read abc", 0);                  try_io("allow_read abc", 0);
125                  try_io("allow_read /tmp/abc/", 0);                  try_io("allow_read /tmp/abc/", 0);
126                  try_io("allow_read", 0);                  try_io("allow_read", 0);

Legend:
Removed from v.1282  
changed lines
  Added in v.1283

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26