diff options
author | Matt Christ <matt@christ.systems> | 2021-12-07 20:35:50 -0600 |
---|---|---|
committer | Matt Christ <matt@christ.systems> | 2021-12-07 20:35:50 -0600 |
commit | 7b1d8bd18273ba25564a52a2b144ddf41f226ec3 (patch) | |
tree | 7e68c7dfd70be5fd551dfd483e431f3de2f63f53 /nixos/tests/brscan5.nix | |
parent | bd2c3952b889d4dc9aa2f850290175a14e01a84e (diff) |
brscan5: fix nixos test
import 're' so we can do regex stuff in this test
Diffstat (limited to 'nixos/tests/brscan5.nix')
-rw-r--r-- | nixos/tests/brscan5.nix | 1 |
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*$' |