grsecurity test: adapt to changes in tinycc outputs

This commit is contained in:
Joachim Fasting 2017-02-08 05:16:30 +01:00
parent a9c347b9e3
commit 28b5cc7dca
No known key found for this signature in database
GPG Key ID: 7544761007FE4E08

View File

@ -36,7 +36,7 @@ import ./make-test.nix ({ pkgs, ...} : {
# paxmark actually works (otherwise, the process should be terminated)
subtest "tcc", sub {
$machine->execute("echo -e '#include <stdio.h>\nint main(void) { puts(\"hello\"); return 0; }' >main.c");
$machine->succeed("${pkgs.tinycc.bin}/bin/tcc -run main.c");
$machine->succeed("${pkgs.tinycc}/bin/tcc -run main.c");
};
subtest "RBAC", sub {