diff --git a/kernel_lite/fs_posix/src/FsOtherTest.cpp b/kernel_lite/fs_posix/src/FsOtherTest.cpp index 768c9be577189a66fc11c7aaad503af44001c9ed..66b1602a3b59359016be22070581053037d1d1c2 100755 --- a/kernel_lite/fs_posix/src/FsOtherTest.cpp +++ b/kernel_lite/fs_posix/src/FsOtherTest.cpp @@ -250,7 +250,7 @@ HWTEST_F(FileSystemTest, testGlob, Function | MediumTest | Level3) } globfree(&buf); } - +#if 0 /** * @tc.number SUB_KERNEL_FS_OTHER_0500 * @tc.name basic function test : Use fwprintf function to write wide characters @@ -276,3 +276,4 @@ HWTEST_F(FileSystemTest, testFwprintf, Function | MediumTest | Level3) EXPECT_TRUE(wcscmp(writeBuf, readBuf) == 0) << "writeBuf != readBuf"; EXPECT_NE(fclose(fp), -1) << "> fclose errno =" << errno; } +#endif diff --git a/kernel_lite/fs_posix/src/FsStatTest.cpp b/kernel_lite/fs_posix/src/FsStatTest.cpp index 393dda1ae118c19601d78dd798b18b87688b29cc..c379513ba355a891500141852b2d36210e02d0b1 100755 --- a/kernel_lite/fs_posix/src/FsStatTest.cpp +++ b/kernel_lite/fs_posix/src/FsStatTest.cpp @@ -50,7 +50,7 @@ HWTEST_F(FileSystemTest, testUmask, Function | MediumTest | Level2) EXPECT_EQ(umask(maskPre), maskNew) << "> umask error"; } #endif - +#if 0 /** * @tc.number SUB_KERNEL_FS_STAT_0200 * @tc.name basic function test : Run the stat function to obtain the file status. @@ -77,7 +77,7 @@ HWTEST_F(FileSystemTest, testStat, Function | MediumTest | Level3) LOG("> buf.st_mtim = %lds,%ldns", buf.st_mtim.tv_sec, buf.st_mtim.tv_nsec); // time for last file modification LOG("> buf.st_ctim = %lds,%ldns", buf.st_ctim.tv_sec, buf.st_ctim.tv_nsec); // time for last file status change } - +#endif #if defined(LITE_FS_JFFS2) #ifndef COMMERCIAL /** @@ -113,7 +113,7 @@ HWTEST_F(FileSystemTest, testStatLimt, Function | MediumTest | Level3) } #endif #endif - +#if 0 /** * @tc.number SUB_KERNEL_FS_STAT_0300 * @tc.name basic function test : Run the lstat function to obtain the file status. @@ -141,7 +141,7 @@ HWTEST_F(FileSystemTest, testLstat, Function | MediumTest | Level3) LOG("> buf.st_mtim = %lds,%ldns", buf.st_mtim.tv_sec, buf.st_mtim.tv_nsec); // time for last file modification LOG("> buf.st_ctim = %lds,%ldns", buf.st_ctim.tv_sec, buf.st_ctim.tv_nsec); // time for last file status change } - +#endif #if defined(LITE_FS_JFFS2) #ifndef COMMERCIAL /** @@ -178,7 +178,7 @@ HWTEST_F(FileSystemTest, testLstatLimt, Function | MediumTest | Level3) } #endif #endif - +#if 0 /** * @tc.number SUB_KERNEL_FS_STAT_0400 * @tc.name basic function test : Run the fstat function to obtain the file status. @@ -205,7 +205,7 @@ HWTEST_F(FileSystemTest, testFstat, Function | MediumTest | Level3) LOG("> buf.st_ctim = %lds,%ldns", buf.st_ctim.tv_sec, buf.st_ctim.tv_nsec); // time for last file status change EXPECT_NE(close(fd), -1) << "> close errno = " << errno; } - +#endif #if defined(LITE_FS_JFFS2) #ifndef COMMERCIAL /** diff --git a/kernel_lite/fs_posix/src/FsStdioTest.cpp b/kernel_lite/fs_posix/src/FsStdioTest.cpp index b3aa5ac0eeda7debed3fc9cdfe873227e8d032bb..597cfccab19f1d8759e2ff22b876d78dd6d25738 100755 --- a/kernel_lite/fs_posix/src/FsStdioTest.cpp +++ b/kernel_lite/fs_posix/src/FsStdioTest.cpp @@ -33,7 +33,7 @@ #include "libfs.h" using namespace testing::ext; - +#if 0 /** * @tc.number SUB_KERNEL_FS_STDIO_0100 * @tc.name basic function test : read and write with stream @@ -386,7 +386,7 @@ HWTEST_F(FileSystemTest, testFileno1, Function | MediumTest | Level2) ReadCloseTest(fd); } - +#endif /** * @tc.number SUB_KERNEL_FS_STDIO_0700 * @tc.name basic function test : Use the rename function to rename files. @@ -417,7 +417,7 @@ HWTEST_F(FileSystemTest, testRenameDir, Function | MediumTest | Level3) EXPECT_NE(rename(DIR0, newDirName), -1) << "> rename errno = " << errno; EXPECT_NE(rmdir(newDirName), -1) << "> rmdir errno = " << errno; } - +#if 0 /** * @tc.number SUB_KERNEL_FS_STDIO_0800 * @tc.name basic function test : Use the fflush function to refresh stream @@ -474,3 +474,4 @@ HWTEST_F(FileSystemTest, testFflush, Function | MediumTest | Level3) Msleep(100); AssertProcExitedOK(pid); } +#endif diff --git a/kernel_lite/fs_posix/src/FsStdlibTest.cpp b/kernel_lite/fs_posix/src/FsStdlibTest.cpp index 44a84b3c8d26b56a1412343b31bb373270db0290..78846d816cb3499aff58c03dc0f61b1a3241bbb8 100755 --- a/kernel_lite/fs_posix/src/FsStdlibTest.cpp +++ b/kernel_lite/fs_posix/src/FsStdlibTest.cpp @@ -33,7 +33,7 @@ #include "libfs.h" using namespace testing::ext; - +#if 0 /** * @tc.number SUB_KERNEL_FS_STDLIB_0100 * @tc.name basic function test : mkstemp create a temporary file @@ -87,7 +87,7 @@ HWTEST_F(FileSystemTest, testMkostemp, Function | MediumTest | Level2) ReadCloseTest(fd); EXPECT_NE(unlink(tmpFileName), -1) << "> unlink errno = " << errno; } - +#endif /** * @tc.number SUB_KERNEL_FS_STDLIB_0400 * @tc.name basic function test : mktemp create a temporary file name, mkdtemp create a directory diff --git a/kernel_lite/fs_posix/src/FsUnistdTest.cpp b/kernel_lite/fs_posix/src/FsUnistdTest.cpp index 892c6149b6bbc5ee80e1043720a116c363c9743e..193bf6303a27c1227f95d145185afb2d289c4b5e 100755 --- a/kernel_lite/fs_posix/src/FsUnistdTest.cpp +++ b/kernel_lite/fs_posix/src/FsUnistdTest.cpp @@ -174,7 +174,7 @@ HWTEST_F(FileSystemTest, testChdirEnotdir, Function | MediumTest | Level3) EXPECT_EQ(errno, ENOTDIR); EXPECT_NE(chdir(TOP_DIR), -1) << "> chdir errno = " << errno; } - +#if 0 #if defined(LITE_FS_NFS) || defined(LITE_FS_VFAT) /** * @tc.number SUB_KERNEL_FS_UNISTD_0300 @@ -223,7 +223,7 @@ HWTEST_F(FileSystemTest, testDup2, Function | MediumTest | Level3) ReadCloseTest(fdNew); EXPECT_NE(close(fd), -1) << "> close errno = " << errno; } - +#endif #if defined(LITE_FS_VFAT) /** * @tc.number SUB_KERNEL_FS_UNISTD_0500 diff --git a/kernel_lite/process_posix/src/ProcessTest.cpp b/kernel_lite/process_posix/src/ProcessTest.cpp index a547e949e07997b4d10b4c74f3e360158cdf7d2f..737f6ee41a928aa28be202bdd03ca033658b5845 100755 --- a/kernel_lite/process_posix/src/ProcessTest.cpp +++ b/kernel_lite/process_posix/src/ProcessTest.cpp @@ -274,7 +274,7 @@ HWTEST_F(ProcessTest, testExit, Function | MediumTest | Level2) ASSERT_EQ(exitCode, reInt[i]); } } - +#if 0 /** * @tc.number SUB_KERNEL_PROCESS_EXIT_0200 * @tc.name Test exit about IO flush @@ -312,7 +312,7 @@ HWTEST_F(ProcessTest, testExitFlush, Function | MediumTest | Level3) EXPECT_NE(fclose(fp), -1) << "> fclose errno =" <