linux system bsearch interface test case