Home
last modified time | relevance | path

Searched refs:compare_file (Results 1 – 13 of 13) sorted by relevance

/freebsd/contrib/atf/atf-c++/
H A Dutils_test.cpp120 ATF_REQUIRE(atf::utils::compare_file("test.txt", "")); in ATF_TEST_CASE_BODY()
127 ATF_REQUIRE(!atf::utils::compare_file("test.txt", "\n")); in ATF_TEST_CASE_BODY()
128 ATF_REQUIRE(!atf::utils::compare_file("test.txt", "foo")); in ATF_TEST_CASE_BODY()
129 ATF_REQUIRE(!atf::utils::compare_file("test.txt", " ")); in ATF_TEST_CASE_BODY()
136 ATF_REQUIRE(atf::utils::compare_file("test.txt", "this is a short file")); in ATF_TEST_CASE_BODY()
143 ATF_REQUIRE(!atf::utils::compare_file("test.txt", "")); in ATF_TEST_CASE_BODY()
144 ATF_REQUIRE(!atf::utils::compare_file("test.txt", "\n")); in ATF_TEST_CASE_BODY()
145 ATF_REQUIRE(!atf::utils::compare_file("test.txt", "this is a Short file")); in ATF_TEST_CASE_BODY()
146 ATF_REQUIRE(!atf::utils::compare_file("test.txt", "this is a short fil")); in ATF_TEST_CASE_BODY()
147 ATF_REQUIRE(!atf::utils::compare_file("test.txt", "this is a short file ")); in ATF_TEST_CASE_BODY()
[all …]
H A Dutils.hpp39 bool compare_file(const std::string&, const std::string&);
H A Dutils.cpp48 atf::utils::compare_file(const std::string& path, const std::string& contents) in compare_file() function in atf::utils
/freebsd/lib/libc/tests/stdlib/
H A Dcxa_thread_atexit_test.cc108 ATF_REQUIRE(atf::utils::compare_file("test_before.txt", out_log)); in ATF_TEST_CASE_BODY()
130 ATF_REQUIRE(atf::utils::compare_file("test_after.txt", out_log)); in ATF_TEST_CASE_BODY()
151 ATF_REQUIRE(atf::utils::compare_file("test_add_meanwhile.txt", out_log)); in ATF_TEST_CASE_BODY()
H A Dcxa_thread_atexit_nothr_test.cc65 ATF_REQUIRE(atf::utils::compare_file("test_main.txt", out_log)); in check_local_main()
/freebsd/contrib/kyua/store/
H A Dmigrate_test.cpp52 ATF_REQUIRE(atf::utils::compare_file("test.db.v13.backup", "The DB\n")); in ATF_TEST_CASE_BODY()
64 ATF_REQUIRE(atf::utils::compare_file("test.db.v1.backup", in ATF_TEST_CASE_BODY()
/freebsd/contrib/kyua/utils/process/
H A Dexecutor_test.cpp463 ATF_REQUIRE(atf::utils::compare_file( in ATF_TEST_CASE_BODY()
466 ATF_REQUIRE(atf::utils::compare_file( in ATF_TEST_CASE_BODY()
504 ATF_REQUIRE(atf::utils::compare_file( in ATF_TEST_CASE_BODY()
506 ATF_REQUIRE(atf::utils::compare_file( in ATF_TEST_CASE_BODY()
598 ATF_REQUIRE(atf::utils::compare_file( in ATF_TEST_CASE_BODY()
604 ATF_REQUIRE(atf::utils::compare_file( in ATF_TEST_CASE_BODY()
709 ATF_REQUIRE(atf::utils::compare_file( in ATF_TEST_CASE_BODY()
/freebsd/contrib/kyua/utils/
H A Dstacktrace_test.cpp568 ATF_REQUIRE(atf::utils::compare_file(exit_handle.stdout_file().str(), "")); in ATF_TEST_CASE_BODY()
569 ATF_REQUIRE(atf::utils::compare_file(exit_handle.stderr_file().str(), "")); in ATF_TEST_CASE_BODY()
588 ATF_REQUIRE(atf::utils::compare_file(exit_handle.stdout_file().str(), "")); in ATF_TEST_CASE_BODY()
589 ATF_REQUIRE(atf::utils::compare_file(exit_handle.stderr_file().str(), "")); in ATF_TEST_CASE_BODY()
H A Dstream_test.cpp83 atf::utils::compare_file("some-file.txt", "Message to other file\n"); in ATF_TEST_CASE_BODY()
/freebsd/contrib/kyua/engine/
H A Dscheduler_test.cpp756 ATF_REQUIRE(atf::utils::compare_file( in ATF_TEST_CASE_BODY()
763 ATF_REQUIRE(atf::utils::compare_file( in ATF_TEST_CASE_BODY()
868 ATF_REQUIRE(atf::utils::compare_file( in do_cleanup_test()
1009 ATF_REQUIRE(atf::utils::compare_file(result_handle->stdout_file().str(), in do_check_list_files_on_failure()
1012 ATF_REQUIRE(atf::utils::compare_file(result_handle->stderr_file().str(), in do_check_list_files_on_failure()
1102 ATF_REQUIRE(atf::utils::compare_file( in ATF_TEST_CASE_BODY()
1108 ATF_REQUIRE(atf::utils::compare_file( in ATF_TEST_CASE_BODY()
H A Datf_test.cpp157 ATF_REQUIRE(atf::utils::compare_file(result_handle->stdout_file().str(), in run_one()
159 ATF_REQUIRE(atf::utils::compare_file(result_handle->stderr_file().str(), in run_one()
/freebsd/contrib/kyua/utils/fs/
H A Doperations_test.cpp114 ATF_REQUIRE(atf::utils::compare_file(target.str(), "This is the input")); in ATF_TEST_CASE_BODY()
/freebsd/contrib/atf/
H A DNEWS157 * Added the cat_file, compare_file, copy_file, create_file, file_exists,