diff options
author | Junichi Uekawa <dancer@netfort.gr.jp> | 2009-02-26 12:53:15 +0900 |
---|---|---|
committer | Junichi Uekawa <dancer@netfort.gr.jp> | 2009-02-26 14:33:11 +0900 |
commit | 06a64a8ce3cbe0e9b7079114f821083ca3c3a8da (patch) | |
tree | 516660a2366b18b40d1a823ba1ec188a39a59634 /test_pbuilder-modules | |
parent | 37597b2cb6439cce9571de83218586b0a99e6ea9 (diff) | |
download | pbuilder-06a64a8ce3cbe0e9b7079114f821083ca3c3a8da.tar pbuilder-06a64a8ce3cbe0e9b7079114f821083ca3c3a8da.tar.gz |
refactor to use 'log' function rather than using 'echo' directly.
First cut into doing this, hopefully we're not breaking anything.
Diffstat (limited to 'test_pbuilder-modules')
-rwxr-xr-x | test_pbuilder-modules | 15 |
1 files changed, 15 insertions, 0 deletions
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 |