Back to home page

Enduro/X

 
 

    


*** This is UBF testing facility. ***
To run all test cases exectue following:
$ ./ubfunit1 2>/dev/null output should be something like this: Running "main"... Completed "main": 5684 passes, 0 failures, 0 exceptions.
To get dubug output (lot of that), remove 2>/dev/null from end of the line.
Note that in this mode, every test is run in forked environment. Meaning if some of thest made segmentation fault, then this does not crash all the testing, but exception will appear in test output.
To get testing in forked environment, then you can run the test, by passing test name to command line, like:
$ ./ubfunit1 test_expr_basic_floatev

  Name Size Date (UTC) Last indexed Description
  Name Size Date (UTC) Last indexed Description
folder Parent directory - 2024-06-15 22:17:03  
folder mkfldhdr_ref/ - 2023-02-22 23:17:04  
folder testdb/ - 2018-11-19 13:18:24  
folder ubftab/ - 2023-02-22 23:17:04  
folder ubftab_test/ - 2023-02-22 23:17:04  
CMakeLists.txt 3541 bytes 2023-10-04 22:17:03 -  
README 646 bytes 2018-11-19 13:18:24 -  
setenv 1674 bytes 2023-02-22 23:17:04 -  
test_badd.c 17324 bytes 2023-02-22 23:17:04 2023-02-22 23:20:17  
test_bcmp.c 15999 bytes 2023-02-22 23:17:04 2023-02-22 23:20:17  
test_bconcat.c 12826 bytes 2023-02-22 23:17:04 2023-02-22 23:20:17  
test_bdel.c 5065 bytes 2023-02-22 23:17:04 2023-02-22 23:20:17  
test_bjoin.c 8649 bytes 2023-02-22 23:17:04 2023-02-22 23:20:17  
test_bnext.c 11099 bytes 2023-02-22 23:17:04 2023-02-22 23:20:17  
test_bnum.c 4605 bytes 2023-02-22 23:17:04 2023-02-22 23:20:17  
test_bojoin.c 8154 bytes 2023-02-22 23:17:04 2023-02-22 23:20:17  
test_bproj.c 19434 bytes 2023-02-22 23:17:04 2023-02-22 23:20:17  
test_bupdate.c 14082 bytes 2023-02-22 23:17:04 2023-02-22 23:20:17  
test_cbchg.c 38069 bytes 2023-02-22 23:17:04 2023-02-22 23:20:18  
test_cbget.c 29078 bytes 2023-02-22 23:17:04 2023-02-22 23:20:18  
test_embubf.c 19441 bytes 2023-02-22 23:17:04 2023-02-22 23:20:18  
test_expr.c 82405 bytes 2023-02-22 23:17:04 2023-02-22 23:20:18  
test_find.c 46988 bytes 2023-02-22 23:17:04 2023-02-22 23:20:18  
test_genbuf.c 15709 bytes 2023-02-22 23:17:04 2023-02-22 23:20:18  
test_get.c 27218 bytes 2023-02-22 23:17:04 2023-02-22 23:20:18  
test_macro.c 2782 bytes 2023-02-22 23:17:04 2023-02-22 23:20:18  
test_mem.c 4569 bytes 2023-02-22 23:17:04 2023-02-22 23:20:18  
test_mkfldhdr.c 2972 bytes 2023-02-22 23:17:04 2023-02-22 23:20:18  
test_mkfldhdr_cmd.sh 2087 bytes 2023-02-22 23:17:04 2023-02-22 23:20:18  
test_mkfldhdr_dup.sh 2545 bytes 2023-02-22 23:17:04 2023-02-22 23:20:18  
test_mkfldhdr_env.sh 2104 bytes 2023-02-22 23:17:04 2023-02-22 23:20:18  
test_mkfldhdr_env_multidir.sh 2140 bytes 2023-02-22 23:17:04 2023-02-22 23:20:18  
test_mkfldhdr_err_output.sh 1797 bytes 2023-02-22 23:17:04 2023-02-22 23:20:18  
test_mkfldhdr_no_FIELDTBLS.sh 1828 bytes 2023-02-22 23:17:04 2023-02-22 23:20:18  
test_mkfldhdr_no_FLDTBLDIR.sh 1828 bytes 2023-02-22 23:17:04 2023-02-22 23:20:18  
test_mkfldhdr_syntax_err.sh 1926 bytes 2023-02-22 23:17:04 2023-02-22 23:20:18  
test_nstd_atomicadd.c 2935 bytes 2023-02-22 23:17:04 2023-02-22 23:20:18  
test_nstd_b64.c 3410 bytes 2023-02-22 23:17:04 2023-02-22 23:20:18  
test_nstd_cid.c 6977 bytes 2023-05-02 22:17:03 2023-05-02 22:17:08  
test_nstd_crypto.c 3898 bytes 2023-02-22 23:17:04 2023-02-22 23:20:18  
test_nstd_debug.c 3953 bytes 2023-02-22 23:17:04 2023-02-22 23:20:18  
test_nstd_fpa.c 12249 bytes 2023-02-22 23:17:04 2023-02-22 23:20:18  
test_nstd_fsync.c 5084 bytes 2024-06-15 22:17:03 2024-06-15 22:17:11  
test_nstd_growlist.c 3857 bytes 2023-02-22 23:17:04 2023-02-22 23:20:18  
test_nstd_lh.c 7168 bytes 2023-09-22 22:17:03 2023-09-22 22:17:32

Includes-----------------------------------

test_nstd_macros.c 2694 bytes 2023-02-22 23:17:04 2023-02-22 23:20:18  
test_nstd_msync.c 5145 bytes 2018-11-19 13:18:24 2018-11-19 13:27:45 parallel writes & locking test
test_nstd_mtest.c 6832 bytes 2018-11-19 13:18:24 2018-11-19 13:27:45  
test_nstd_mtest2.c 3949 bytes 2018-11-19 13:18:24 2018-11-19 13:27:45

Just like mtest.c, but using a subDB instead of the main DB

test_nstd_mtest3.c 4169 bytes 2018-11-19 13:18:24 2018-11-19 13:27:45

Tests for sorted duplicate DBs

test_nstd_mtest4.c 5286 bytes 2018-11-19 13:18:24 2018-11-19 13:27:45

Tests for sorted duplicate DBs with fixed-size keys

test_nstd_mtest5.c 4263 bytes 2018-11-19 13:18:24 2018-11-19 13:27:45

Tests for sorted duplicate DBs using cursor_put

test_nstd_mtest6.c 3102 bytes 2020-02-20 23:17:04 2020-02-20 23:18:21

Tests for DB splits and merges

test_nstd_mtest6_dupcursor.c 5553 bytes 2018-11-19 13:18:24 2018-11-19 13:27:45

Tests for sorted duplicate DBs

test_nstd_mtest7.c 3327 bytes 2023-02-22 23:17:04 2023-02-22 23:20:18  
test_nstd_sm.c 9014 bytes 2023-09-22 22:17:03 2023-09-22 22:17:32

Includes-----------------------------------

test_nstd_standard.c 14464 bytes 2023-02-22 23:17:04 2023-02-22 23:20:18  
test_nstd_util.c 22537 bytes 2023-10-28 22:17:03 2023-10-28 22:17:09  
test_print.c 34321 bytes 2023-02-22 23:17:04 2023-02-22 23:20:19  
test_printv.c 8930 bytes 2023-02-22 23:17:04 2023-02-22 23:20:19  
test_rbtree.c 17388 bytes 2023-10-04 22:17:03 2023-10-04 22:17:16  
test_readwrite.c 8977 bytes 2023-02-22 23:17:04 2023-02-22 23:20:19  
ubfunit1.c 25170 bytes 2023-10-04 22:17:03 2023-10-04 22:17:16  
ubfunit1.h 6733 bytes 2023-10-04 22:17:03 2023-10-04 22:17:16