You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
421 B
31 lines
421 B
#!/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
|