~schuster/mysql-proxy/filemode

« back to all changes in this revision

Viewing changes to tests/unit/check_chassis_filemode.c

  • Committer: michael.schuster at sun
  • Date: 2009-12-09 14:41:41 UTC
  • Revision ID: michael.schuster@sun.com-20091209144141-osxnf43ffxecw5vv
fix for minor items

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
        fd = mkstemp(filename);
51
51
 
52
52
        /* 2nd test: too permissive */
 
53
        chmod(filename, TOO_OPEN);
53
54
        g_assert_cmpint(chassis_filemode_check(filename), ==, 1);
54
55
 
55
56
        /* 3rd test: OK */