nixos/tests/kbd-update-search-paths: explicitly import re
Antoine Eiche 4 years ago 07f85e36 f6b27bd9
··· 10 10 testScript = '' 11 11 command = "${pkgs.kbd}/bin/setfont ter-112n 2>&1" 12 12 (status, out) = machine.execute(command) 13 13 + import re 13 14 pattern = re.compile(r".*Unable to find file:.*") 14 15 match = pattern.match(out) 15 16 if match: