about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2021-12-08 15:06:17 +0000
committerGitHub <noreply@github.com>2021-12-08 15:06:17 +0000
commit8010ff0d543d21fe639efd17f5ecb6e3e3ee9534 (patch)
tree7038766f217c241c75195557403851959996b42f /nixos
parent35ad3c79b6c264aa73bd8e7ca1dd0ffb67bd73b1 (diff)
parent7b1d8bd18273ba25564a52a2b144ddf41f226ec3 (diff)
Merge pull request #149504 from mattchrist/fix-brscan5-nixos-test
brscan5: fix nixos test
Diffstat (limited to 'nixos')
-rw-r--r--nixos/tests/brscan5.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/tests/brscan5.nix b/nixos/tests/brscan5.nix
index 715191b383cb6..9aed742f6de79 100644
--- a/nixos/tests/brscan5.nix
+++ b/nixos/tests/brscan5.nix
@@ -23,6 +23,7 @@ import ./make-test-python.nix ({ pkgs, ...} : {
     };
 
   testScript = ''
+    import re
     # sane loads libsane-brother5.so.1 successfully, and scanimage doesn't die
     strace = machine.succeed('strace scanimage -L 2>&1').split("\n")
     regexp = 'openat\(.*libsane-brother5.so.1", O_RDONLY|O_CLOEXEC\) = \d\d*$'