brscan5: fix nixos test
import 're' so we can do regex stuff in this test
This commit is contained in:
parent
bd2c3952b8
commit
7b1d8bd182
1 changed files with 1 additions and 0 deletions
|
@ -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*$'
|
||||
|
|
Loading…
Reference in a new issue