summaryrefslogtreecommitdiffstats
path: root/scripts/tet-trim.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/tet-trim.sh')
-rwxr-xr-xscripts/tet-trim.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/tet-trim.sh b/scripts/tet-trim.sh
new file mode 100755
index 0000000..8b6f5fc
--- /dev/null
+++ b/scripts/tet-trim.sh
@@ -0,0 +1,7 @@
+#!/bin/sh -x
+
+SRC_DIR=`cd ../.. ; pwd`
+TET_DIR=$SRC_DIR/tet
+
+cd $TET_DIR/results
+rm -rf `ls | head -n -5`