summaryrefslogtreecommitdiffstats
path: root/libkcal/tests/createref.sh
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commit460c52653ab0dcca6f19a4f492ed2c5e4e963ab0 (patch)
tree67208f7c145782a7e90b123b982ca78d88cc2c87 /libkcal/tests/createref.sh
downloadtdepim-460c52653ab0dcca6f19a4f492ed2c5e4e963ab0.tar.gz
tdepim-460c52653ab0dcca6f19a4f492ed2c5e4e963ab0.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkcal/tests/createref.sh')
-rwxr-xr-xlibkcal/tests/createref.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/libkcal/tests/createref.sh b/libkcal/tests/createref.sh
new file mode 100755
index 000000000..a7f8911c9
--- /dev/null
+++ b/libkcal/tests/createref.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+file=$1
+sort -r $1.next.ref | grep -v "^3" | grep -v "^2[1-9].*" | grep -v "^20[2-9].*" | grep -v "^201[1-9].*"> $1.prev.ref
+sed 's/T.*$//' $1.next.ref | uniq | grep -v "^3" | grep -v "^2[1-9].*" | grep -v "^20[2-9].*" | grep -v "^201[1-9].*" > $1.recurson.ref
+
+diff $file.prev.ref $file.prev.out > /dev/null 2>&1 && rm $file.prev.out;
+diff $file.next.ref $file.next.out > /dev/null 2>&1 && rm $file.next.out;
+diff $file.recurson.ref $file.recurson.out > /dev/null 2>&1 && rm $file.recurson.out;
+
+
+# cat $i |grep -v "^2[1-9].*" | grep -v "^20[2-9].*" | grep -v "^201[1-9].*" > $i.new; \ No newline at end of file