Update tests/linux-sandbox.sh

Co-authored-by: John Ericson <git@JohnEricson.me>
This commit is contained in:
Guillaume Maudoux 2023-06-20 22:51:29 +02:00 committed by GitHub
parent f0233f3a3f
commit 3a20c7c46c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -52,7 +52,6 @@ testCert () {
certFile=$3 # a string that can be the path to a cert file
[ "$mode" == fixed-output ] && ret=1 || ret=100
expectStderr $ret nix-sandbox-build linux-sandbox-cert-test.nix --argstr mode "$mode" --option ssl-cert-file "$certFile" |
# tee /dev/stderr |
grepQuiet "CERT_${expectation}_IN_SANDBOX"
}