summaryrefslogtreecommitdiffstats
path: root/karm/test/bug94447.sh
blob: 630d1ff97794ab6aabd23d41a31f85dce20667e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/sh

# Create files relative to current directory if no "/" prefix
# in file name given on command line

exec >>check.log 2>&1

TESTFILE="testkarm.ics"
TESTTODO="testtodo"

. ./__lib.sh 

set_up

# make karm create the file.
dcop $DCOPID KarmDCOPIface addtodo "$TESTTODO"

RVAL=1
if [ -e $TESTFILE ]; then RVAL=0; fi

tear_down

if [ $RVAL -eq 0 ]
then 
  echo "PASS $0"
  exit 0
else 
  echo "FAIL $0"
  exit 1
fi