summaryrefslogtreecommitdiffstats
path: root/karm/test/booktime-badtime.sh
diff options
context:
space:
mode:
authorOBATA Akio <obache@wizdas.com>2019-08-15 17:02:19 +0900
committerSlávek Banko <slavek.banko@axis.cz>2019-08-15 22:32:42 +0200
commite951a69396ba1614775ba97dcac7dd34153c864a (patch)
tree1552f0592339ff537d833a83be036dfe14cc625f /karm/test/booktime-badtime.sh
parent0e5f517eb7d525e245293dfa51a86b00b1b72e34 (diff)
downloadtdepim-e951a69396ba1614775ba97dcac7dd34153c864a.tar.gz
tdepim-e951a69396ba1614775ba97dcac7dd34153c864a.zip
fix some sh portability fixes
Replace bash specific way with POSIX one. Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit 0009cb8171f141e113777e7f6557a0cfa1542d5a)
Diffstat (limited to 'karm/test/booktime-badtime.sh')
-rwxr-xr-xkarm/test/booktime-badtime.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/karm/test/booktime-badtime.sh b/karm/test/booktime-badtime.sh
index 1bbaa3d5..abc98c33 100755
--- a/karm/test/booktime-badtime.sh
+++ b/karm/test/booktime-badtime.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 20050619Tabc 360 2>/dev/null`
tear_down
EXPECTED=5
-if [ "$RVAL" == "$EXPECTED" ]; then
+if [ "$RVAL" = "$EXPECTED" ]; then
echo "PASS $0"
exit 0;
else