Merge pull request #149504 from mattchrist/fix-brscan5-nixos-test

brscan5: fix nixos test
This commit is contained in:
Jörg Thalheim 2021-12-08 15:06:17 +00:00 committed by GitHub
commit 8010ff0d54
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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*$'