test/cxx/UtilsTest.cpp in passenger-4.0.5 vs test/cxx/UtilsTest.cpp in passenger-4.0.6

- old
+ new

@@ -331,9 +331,11 @@ (mode_t) (S_IROTH | S_IWGRP | S_IXGRP)); ensure_equals("(6)", parseModeString("u=r,g=w,o=x,u=x"), (mode_t) (S_IRUSR | S_IXUSR | S_IWGRP | S_IXOTH)); ensure_equals("(7)", parseModeString("u=rs,g=ws"), (mode_t) (S_IRUSR | S_ISUID | S_IWGRP | S_ISGID)); + ensure_equals("(7)", parseModeString("u=rwx,g=rwx,+t"), + (mode_t) (S_IRWXU | S_IRWXG | S_ISVTX)); } TEST_METHOD(38) { ensure(modeStringCannotBeParsed("0")); ensure(modeStringCannotBeParsed("0600"));