Add assert_int_equal() shell function

Add a shell function which is used in the "tcp" system test, but has
been accidentally omitted from !2425.  Make sure the function does not
change the value of "ret" itself, so that the caller can decide what to
do with the function's return value.

(cherry picked from commit 8bb7f1f2)
65 jobs for !2545 with 1206-add-assert_int_equal-shell-function-v9_11 in 29 seconds (queued for 6 seconds)
detached
Status Job ID Name Coverage
  Precheck
canceled #401616
amd64 linux
🐞:sid:amd64

00:00:28

canceled #401614
amd64 linux
autoreconf:sid:amd64

00:00:29

passed #401615
amd64 linux
misc:sid:amd64

00:00:24

 
  Build
canceled #401629
amd64 linux
asan:sid:amd64

canceled #401634
amd64 freebsd
clang:freebsd11.3:amd64

canceled #401635
amd64 freebsd
clang:freebsd12.0:amd64

canceled #401636
amd64 openbsd
clang:openbsd6.5:amd64

canceled #401630
amd64 linux
clang:stretch:amd64

canceled #401631
i386 linux
clang:stretch:i386

canceled #401617
amd64 linux
gcc:alpine3.10:amd64

canceled #401628
amd64 linux
gcc:bionic:amd64

canceled #401623
amd64 linux
gcc:buster:amd64

canceled #401618
amd64 linux
gcc:centos6:amd64

canceled #401619
amd64 linux
gcc:centos7:amd64

canceled #401620
amd64 linux
gcc:centos8:amd64

canceled #401626
amd64 linux
gcc:fedora30:amd64

canceled #401621
amd64 linux
gcc:jessie:amd64

canceled #401624
amd64 linux
gcc:sid:amd64

canceled #401625
i386 linux
gcc:sid:i386

canceled #401622
amd64 linux
gcc:stretch:amd64

canceled #401627
amd64 linux
gcc:xenial:amd64

canceled #401638
amd64 windows
msvc:windows:amd64

canceled #401632
amd64 linux
nocrypto:sid:amd64

canceled #401637
amd64 linux
nolibtool:sid:amd64

canceled #401633
amd64 linux
pkcs11:sid:amd64

 
  Unit
canceled #401651
amd64 linux
unit:asan:sid:amd64

canceled #401655
amd64 freebsd
unit:clang:freebsd11.3:amd64

canceled #401656
amd64 freebsd
unit:clang:freebsd12.0:amd64

canceled #401652
amd64 linux
unit:clang:stretch:amd64

canceled #401639
amd64 linux
unit:gcc:alpine3.10:amd64

canceled #401650
amd64 linux
unit:gcc:bionic:amd64

canceled #401645
amd64 linux
unit:gcc:buster:amd64

canceled #401640
amd64 linux
unit:gcc:centos6:amd64

canceled #401641
amd64 linux
unit:gcc:centos7:amd64

canceled #401642
amd64 linux
unit:gcc:centos8:amd64

canceled #401648
amd64 linux
unit:gcc:fedora30:amd64

canceled #401643
amd64 linux
unit:gcc:jessie:amd64

canceled #401646
amd64 linux
unit:gcc:sid:amd64

canceled #401647
i386 linux
unit:gcc:sid:i386

canceled #401644
amd64 linux
unit:gcc:stretch:amd64

canceled #401649
amd64 linux
unit:gcc:xenial:amd64

canceled #401653
amd64 linux
unit:nocrypto:sid:amd64

canceled #401657
amd64 linux
unit:nolibtool:sid:amd64

canceled #401654
amd64 linux
unit:pkcs11:sid:amd64

 
  System
canceled #401670
amd64 linux
system:asan:sid:amd64

canceled #401673
amd64 freebsd
system:clang:freebsd11.3:amd64

canceled #401674
amd64 freebsd
system:clang:freebsd12.0:amd64

canceled #401658
amd64 linux
system:gcc:alpine3.10:amd64

canceled #401669
amd64 linux
system:gcc:bionic:amd64

canceled #401664
amd64 linux
system:gcc:buster:amd64

canceled #401659
amd64 linux
system:gcc:centos6:amd64

canceled #401660
amd64 linux
system:gcc:centos7:amd64

canceled #401661
amd64 linux
system:gcc:centos8:amd64

canceled #401667
amd64 linux
system:gcc:fedora30:amd64

canceled #401662
amd64 linux
system:gcc:jessie:amd64

canceled #401665
amd64 linux
system:gcc:sid:amd64

canceled #401666
i386 linux
system:gcc:sid:i386

canceled #401663
amd64 linux
system:gcc:stretch:amd64

canceled #401668
amd64 linux
system:gcc:xenial:amd64

canceled #401671
amd64 linux
system:nocrypto:sid:amd64

canceled #401675
amd64 linux
system:nolibtool:sid:amd64

canceled #401672
amd64 linux
system:pkcs11:sid:amd64

 
  Docs
canceled #401676
amd64 linux
docs:sid:amd64

 
  Postcheck
canceled #401678
amd64 linux
cppcheck:gcc:sid:amd64

canceled #401677
amd64 linux
scan-build:buster:amd64