From 7b1d8bd18273ba25564a52a2b144ddf41f226ec3 Mon Sep 17 00:00:00 2001 From: Matt Christ Date: Tue, 7 Dec 2021 20:35:50 -0600 Subject: [PATCH] brscan5: fix nixos test import 're' so we can do regex stuff in this test --- nixos/tests/brscan5.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/tests/brscan5.nix b/nixos/tests/brscan5.nix index 715191b383cb..9aed742f6de7 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*$'