📄 mailer-t1.sh
字号:
#!/bin/sh## mailer-t1.sh: test #1 for the mailer.py script## This test generates "email" for each revision in the repository,# concatenating them into one big blob, which is then compared against# a known output.## Note: mailer-tweak.py must have been run to make the test outputs# consistent and reproducible## USAGE: ./mailer-t1.sh REPOS MAILER-SCRIPT#if test "$#" != 2; then echo "USAGE: ./mailer-t1.sh REPOS MAILER-SCRIPT" exit 1figlom=mailer-t1.currentrm -f $glomyoungest="`svnlook youngest $1`"for rev in `python -c "import string; print string.join(map(str, range(1,$youngest+1)))"`; do $2 commit $1 $rev >> $glomdoneecho "current mailer.py output in: $glom"echo diff -q mailer-t1.output $glomdiff -q mailer-t1.output $glom && echo "SUCCESS: no differences detected"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -