]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/tools/build/test/make_rule.py
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / tools / build / test / make_rule.py
index ab994376e13c19f29a891c822b9d5d82ecd859a3..ad8fd42fdf5766ce1afd372e59a606e22c99d025 100644 (file)
@@ -29,7 +29,7 @@ make foo.bar : : creator : <test_feature>12345678 ;
 
 t.run_build_system()
 t.expect_addition("bin/foo.bar")
-t.fail_test(string.find(t.read("bin/foo.bar"), "12345678") == -1)
+t.fail_test(t.read("bin/foo.bar").find("12345678") == -1)
 
 
 # Regression test. Make sure that if a main target is requested two times, and