]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/test/test/test-organization-ts/test_unit-sanitize-names.cpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / test / test / test-organization-ts / test_unit-sanitize-names.cpp
index d4fa2580ec4218655c874b6f5322c993e4ccf835..0bc4f87370d905d3315d24405012190d6651f435 100644 (file)
@@ -58,4 +58,10 @@ BOOST_AUTO_TEST_CASE( test_case_sanitize )
     BOOST_TEST( master_ts->get("my@whateve!r test case 2") == INV_TEST_UNIT_ID );
     BOOST_TEST( master_ts->get("  my_whateve_r test case 2  ") == INV_TEST_UNIT_ID );
     BOOST_TEST( master_ts->get("my_whateve_r test case 2") == tc2->p_id );
+
+    test_case* tc3 = make_test_case(suite1_test1, "  some_type < bla, blabla>  ", __FILE__, __LINE__);
+    master_ts->add( tc3 );
+    BOOST_TEST( master_ts->get("some_type < bla, blabla>") == INV_TEST_UNIT_ID );
+    BOOST_TEST( master_ts->get("  some_type < bla, blabla>  ") == INV_TEST_UNIT_ID );
+    BOOST_TEST( master_ts->get("some_type < bla_ blabla>") == tc3->p_id );
 }