fix parsing of relative branch paths

This commit is contained in:
Antonio SJ Musumeci 2021-02-11 19:22:17 -05:00
parent 39d98f1eac
commit d337574665
2 changed files with 7 additions and 1 deletions

View file

@ -109,6 +109,10 @@ test_config_branches()
TEST_MSG("minfreespace: expected = %lu; produced = %lu",
4321,
(*bcp0)[1].minfreespace());
TEST_CHECK(b.from_string("foo/bar") == 0);
TEST_CHECK(b.from_string("./foo/bar") == 0);
TEST_CHECK(b.from_string("./foo/bar:/bar/baz:blah/asdf") == 0);
}
void