runspbi.sh
来自「Gsm手机(短信息,电话簿)开发库C++源代码」· Shell 代码 · 共 19 行
SH
19 行
#!/bin/sh
errorexit() {
echo $1
exit 1
}
cp spbi2-orig.pb spbi2.pb ||
errorexit "could not copy spbi2-orig.pb to spbi2.pb"
# run the test
../apps/gsmpb -V -i -s spbi1.pb -d spbi2.pb > testspbi.log
# add new contents of phonebook file to the test log
cat spbi2.pb >> testspbi.log
# check if output differs from what it should be
diff testspbi.log testspbi-output.txt
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?