From 06a64a8ce3cbe0e9b7079114f821083ca3c3a8da Mon Sep 17 00:00:00 2001 From: Junichi Uekawa Date: Thu, 26 Feb 2009 12:53:15 +0900 Subject: refactor to use 'log' function rather than using 'echo' directly. First cut into doing this, hopefully we're not breaking anything. --- test_pbuilder-modules | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 test_pbuilder-modules (limited to 'test_pbuilder-modules') diff --git a/test_pbuilder-modules b/test_pbuilder-modules new file mode 100755 index 0000000..402c424 --- /dev/null +++ b/test_pbuilder-modules @@ -0,0 +1,15 @@ +#!/bin/bash + +. ./testlib.sh +. ./pbuilder-modules + +function test_information() { + log "I: test" + log "W: warning" + log "E: error" +} +expect_output "I: test +W: warning +E: error" test_information + +testlib_summary -- cgit v1.2.3