diff options
Diffstat (limited to 'tests/regression')
-rwxr-xr-x | tests/regression | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/regression b/tests/regression index 48bd3d0..683a36d 100755 --- a/tests/regression +++ b/tests/regression @@ -476,7 +476,7 @@ function run_test_bpf_sim() { # get low and high syscall values and convert them to numbers low_syscall=$(get_range $LOW "${line[2]}") - if [[ ! $low_syscall =~ ^[0-9]+$ ]]; then + if [[ ! $low_syscall =~ ^\-?[0-9]+$ ]]; then low_syscall=$($GLBL_SYS_RESOLVER -a $simarch -t \ $low_syscall) if [[ $? -ne 0 ]]; then @@ -487,7 +487,7 @@ function run_test_bpf_sim() { fi fi high_syscall=$(get_range $HIGH "${line[2]}") - if [[ ! $high_syscall =~ ^[0-9]+$ ]]; then + if [[ ! $high_syscall =~ ^\-?[0-9]+$ ]]; then high_syscall=$($GLBL_SYS_RESOLVER -a $simarch -t \ $high_syscall) if [[ $? -ne 0 ]]; then |