mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-23 01:05:14 +00:00
Make relative paths match the default VFS, if provided
https://github.com/espressif/esp-idf/issues/158
This commit is contained in:
@@ -197,6 +197,8 @@ TEST_CASE("vfs parses paths correctly", "[vfs]")
|
||||
test_dir_opened(&inst_foobar, "/foo/bar/file");
|
||||
inst_toplevel.match_path = "/tmp/foo";
|
||||
test_opened(&inst_toplevel, "/tmp/foo");
|
||||
inst_toplevel.match_path = "foo";
|
||||
test_opened(&inst_toplevel, "foo");
|
||||
|
||||
TEST_ESP_OK( esp_vfs_unregister("/foo") );
|
||||
TEST_ESP_OK( esp_vfs_unregister("/foo1") );
|
||||
|
Reference in New Issue
Block a user