summaryrefslogtreecommitdiffstats
path: root/runcthon
diff options
context:
space:
mode:
authorSteve Dickson <steved@redhat.com>2009-08-13 08:24:07 -0400
committerSteve Dickson <steved@redhat.com>2009-08-13 08:24:07 -0400
commit3ec92cc9123aa4ef91251cb4396efeb940d0e2da (patch)
treedbf484d2f9fada4fa88d6912af29c5428c3435b1 /runcthon
parentf99f9ab0f299844e35417259ac37f5d10da1d30b (diff)
downloadcthon04-3ec92cc9123aa4ef91251cb4396efeb940d0e2da.tar.gz
cthon04-3ec92cc9123aa4ef91251cb4396efeb940d0e2da.tar.xz
cthon04-3ec92cc9123aa4ef91251cb4396efeb940d0e2da.zip
Save error files.
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'runcthon')
-rwxr-xr-xruncthon1
1 files changed, 1 insertions, 0 deletions
diff --git a/runcthon b/runcthon
index 8b8c0a4..e0e8c1a 100755
--- a/runcthon
+++ b/runcthon
@@ -50,6 +50,7 @@ sec=$5
[ $? -ne 0 ] && {
echo ""
echo "The '$test' test using '$mntargs' args to $SRV: Failed!!"
+ mv /tmp/nfsv$vers$proto /tmp/nfsv$vers$proto.error
}
[ -d $mnt/nfsv$vers$proto/`hostname -s`.test ] &&
sudo umount $mnt/nfsv$vers$proto ) &