Searched refs:compare_file (Results 1 – 13 of 13) sorted by relevance
/freebsd/contrib/atf/atf-c++/ |
H A D | utils_test.cpp | 120 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 D | utils.hpp | 39 bool compare_file(const std::string&, const std::string&);
|
H A D | utils.cpp | 48 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 D | cxa_thread_atexit_test.cc | 108 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 D | cxa_thread_atexit_nothr_test.cc | 65 ATF_REQUIRE(atf::utils::compare_file("test_main.txt", out_log)); in check_local_main()
|
/freebsd/contrib/kyua/store/ |
H A D | migrate_test.cpp | 52 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 D | executor_test.cpp | 463 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 D | stacktrace_test.cpp | 568 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 D | stream_test.cpp | 83 atf::utils::compare_file("some-file.txt", "Message to other file\n"); in ATF_TEST_CASE_BODY()
|
/freebsd/contrib/kyua/engine/ |
H A D | scheduler_test.cpp | 756 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 D | atf_test.cpp | 157 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 D | operations_test.cpp | 114 ATF_REQUIRE(atf::utils::compare_file(target.str(), "This is the input")); in ATF_TEST_CASE_BODY()
|
/freebsd/contrib/atf/ |
H A D | NEWS | 157 * Added the cat_file, compare_file, copy_file, create_file, file_exists,
|