# # # patch "tests/automate_inventory/__driver__.lua" # from [35d22f512e8dc2b3098af8b3829615c8dbada266] # to [0f017c00f4db6c4a67af0805deffb207dc691b97] # ============================================================ --- tests/automate_inventory/__driver__.lua 35d22f512e8dc2b3098af8b3829615c8dbada266 +++ tests/automate_inventory/__driver__.lua 0f017c00f4db6c4a67af0805deffb207dc691b97 @@ -41,13 +41,12 @@ parsed = parse_basic_io(readfile("stdout parsed = parse_basic_io(readfile("stdout")) --- FIXME: null path is root directory. need to keep for 'pivot_root'; test that index = check_inventory (parsed, index, -{path = "", +{path = ".", old_type = "directory", new_type = "directory", - fs_type = "none", - status = {"missing"}}) + fs_type = "directory", + status = {"known"}}) index = check_inventory (parsed, index, {path = "added", @@ -474,6 +473,8 @@ old_type = "directory", fs_type = "none", status = {"dropped"}}) --- TODO: tests for renaming directories +-- FIXME: tests for renaming directories +-- FIXME: add test for 'pivot_root' + -- end of file