#!/bin/sh
. ../main/bumsg.fnc
. ../main/buassert.fnc
-. ./test001.msg
+
+#. ./test001.msg
+MSG_M001='Hello [%s] world!'
+MSG_M001_sysout=false
+MSG_M001_syserr=true
+MSG_M001_logger=true
+MSG_M001_level=info
+MSG_M001_embedid=true
+
+MSG_M002='This is a %s.'
value1=`getmsg 'M001' 'Bash'`
-assertEquals 'Value should be equal.' '[M001]Hello [Bash] world!' "${value1}"
+assertEquals 'basic message printf.' '[M001]Hello [Bash] world!' "${value1}"
+
+value1=`getmsg 'M002' 'pen'`
+assertEquals 'simple message printf.' 'This is a pen.' "${value1}"