add test-each-patch.sh

Signed-off-by: Peng Tao <bergwolf@gmail.com>