commit | 5a8d5209ac0228c9cf8f335dfdfffa71c54b3201 | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <jakub.kicinski@netronome.com> | Wed Dec 19 22:13:03 2018 -0800 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Thu Dec 20 17:28:28 2018 +0100 |
tree | ad36a518ecf687ebdc6912d697a59ffcd0079400 | |
parent | 9df95e8ec568f98d89fe2c72342714296ac6ce27 [diff] |
selftests: bpf: add trivial JSET tests We seem to have no JSET instruction test, and LLVM does not generate it at all, so let's add a simple hand-coded test to make sure JIT implementations are correct. v2: - extend test_verifier to handle multiple inputs and add the sample there (Daniel) - add a sign extension case Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>