代码拉取完成,页面将自动刷新
#!/bin/sh
# Copyright 2018 by Denys Vlasenko <vda.linux@googlemail.com>
# Licensed under GPLv2, see file LICENSE in this source tree.
. ./testing.sh
# testing "description" "command" "result" "infile" "stdin"
testing 'hexdump -C with four NULs' \
'hexdump -C' \
"\
00000000 00 00 00 00 |....|
00000004
" \
'' \
'\0\0\0\0'
testing "hexdump does not think last padded block matches any full block" \
"hexdump -e '1/1 \"%02x|\"1/1 \"%02x!\\n\"'" \
"\
00|00!
*
00| !
" \
'' \
'\0\0\0\0\0\0\0\0\0\0\0'
testing "hexdump thinks last full block can match" \
"hexdump -e '1/1 \"%02x|\"1/1 \"%02x!\\n\"'" \
"\
00|00!
*
" \
'' \
'\0\0\0\0\0\0\0\0\0\0\0\0'
exit $FAILCOUNT
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。