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.
66 jobs for !2535 with 1206-add-assert_int_equal-shell-function
latest detached
Status Job ID Name Coverage
  Precheck
canceled #400184
amd64 linux
🐞:sid:amd64

canceled #400182
amd64 linux
autoreconf:sid:amd64

canceled #400183
amd64 linux
misc:sid:amd64

 
  Build
canceled #400197
amd64 linux
asan:sid:amd64

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

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

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

canceled #400200
amd64 linux
clang:stretch:amd64

canceled #400201
i386 linux
clang:stretch:i386

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

canceled #400196
amd64 linux
gcc:bionic:amd64

canceled #400191
amd64 linux
gcc:buster:amd64

canceled #400186
amd64 linux
gcc:centos6:amd64

canceled #400187
amd64 linux
gcc:centos7:amd64

canceled #400188
amd64 linux
gcc:centos8:amd64

canceled #400194
amd64 linux
gcc:fedora30:amd64

canceled #400189
amd64 linux
gcc:jessie:amd64

canceled #400192
amd64 linux
gcc:sid:amd64

canceled #400193
i386 linux
gcc:sid:i386

canceled #400190
amd64 linux
gcc:stretch:amd64

canceled #400195
amd64 linux
gcc:xenial:amd64

canceled #400207
amd64 windows
msvc:windows:amd64

canceled #400199
amd64 linux
mutexatomics:sid:amd64

canceled #400206
amd64 linux
nolibtool:sid:amd64

canceled #400202
amd64 linux
pkcs11:sid:amd64

canceled #400198
amd64 linux
rwlock:sid:amd64

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

canceled #400221
amd64 linux
unit:rwlock:sid:amd64

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

canceled #400240
amd64 linux
system:rwlock:sid:amd64

 
  Docs
canceled #400245
amd64 linux
docs:sid:amd64

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

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