summaryrefslogtreecommitdiffstats
path: root/karm/test/booktime-badduration.sh
diff options
context:
space:
mode:
authorOBATA Akio <obache@wizdas.com>2019-08-15 17:02:19 +0900
committerOBATA Akio <obache@wizdas.com>2019-08-15 17:23:01 +0900
commit0009cb8171f141e113777e7f6557a0cfa1542d5a (patch)
treed1e7cb6a0ae3aba7d4b72ca4d475b276fe1f895d /karm/test/booktime-badduration.sh
parentc349db5d278566f8f129e8bd54751155fad49d9e (diff)
downloadtdepim-0009cb8171f141e113777e7f6557a0cfa1542d5a.tar.gz
tdepim-0009cb8171f141e113777e7f6557a0cfa1542d5a.zip
fix some sh portability fixes
Replace bash specific way with POSIX one. Signed-off-by: OBATA Akio <obache@wizdas.com>
Diffstat (limited to 'karm/test/booktime-badduration.sh')
-rwxr-xr-xkarm/test/booktime-badduration.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/karm/test/booktime-badduration.sh b/karm/test/booktime-badduration.sh
index 2b1e8c96b..b18f59a89 100755
--- a/karm/test/booktime-badduration.sh
+++ b/karm/test/booktime-badduration.sh
@@ -2,7 +2,7 @@
TESTFILE="/tmp/testkarm1.ics"
-source __lib.sh
+. ./__lib.sh
set_up
@@ -13,7 +13,7 @@ RVAL=`dcop $DCOPID KarmDCOPIface bookTime $TASKID 20050619 notanumber 2>/dev/nul
tear_down
EXPECTED=7
-if [ "$RVAL" == "$EXPECTED" ]; then
+if [ "$RVAL" = "$EXPECTED" ]; then
echo "PASS $0"
exit 0;
else