Lines Matching defs:s2
821 atf_fs_stat_t s1, s2;
843 RE(atf_fs_stat_init(&s2, &p2));
844 ATF_REQUIRE_EQ(atf_fs_stat_get_type(&s2), atf_fs_stat_dir_type);
845 ATF_REQUIRE( atf_fs_stat_is_owner_readable(&s2));
846 ATF_REQUIRE( atf_fs_stat_is_owner_writable(&s2));
847 ATF_REQUIRE( atf_fs_stat_is_owner_executable(&s2));
848 ATF_REQUIRE(!atf_fs_stat_is_group_readable(&s2));
849 ATF_REQUIRE(!atf_fs_stat_is_group_writable(&s2));
850 ATF_REQUIRE(!atf_fs_stat_is_group_executable(&s2));
851 ATF_REQUIRE(!atf_fs_stat_is_other_readable(&s2));
852 ATF_REQUIRE(!atf_fs_stat_is_other_writable(&s2));
853 ATF_REQUIRE(!atf_fs_stat_is_other_executable(&s2));
855 atf_fs_stat_fini(&s2);
944 atf_fs_stat_t s1, s2;
974 RE(atf_fs_stat_init(&s2, &p2));
975 ATF_CHECK_EQ(atf_fs_stat_get_type(&s2), atf_fs_stat_reg_type);
976 ATF_CHECK( atf_fs_stat_is_owner_readable(&s2));
977 ATF_CHECK( atf_fs_stat_is_owner_writable(&s2));
978 ATF_CHECK(!atf_fs_stat_is_owner_executable(&s2));
979 ATF_CHECK(!atf_fs_stat_is_group_readable(&s2));
980 ATF_CHECK(!atf_fs_stat_is_group_writable(&s2));
981 ATF_CHECK(!atf_fs_stat_is_group_executable(&s2));
982 ATF_CHECK(!atf_fs_stat_is_other_readable(&s2));
983 ATF_CHECK(!atf_fs_stat_is_other_writable(&s2));
984 ATF_CHECK(!atf_fs_stat_is_other_executable(&s2));
986 atf_fs_stat_fini(&s2);