Permalink
Browse files

added check for whether we can write to the output file

git-svn-id: http://shflags.googlecode.com/svn/trunk/source/1.0@84 9d7cb843-df4f-0410-8a79-4785ae5a3405
  • Loading branch information...
1 parent 73840eb commit 24c41aabfc4cdecda755a561f834ad60f7924bb4 kate.ward@forestent.com committed Nov 14, 2008
Showing with 1 addition and 0 deletions.
  1. +1 −0 bin/gen_test_results.sh
View
@@ -70,6 +70,7 @@ if [ -f "${output}" ]; then
exit ${FLAGS_ERROR}
fi
fi
+touch "${output}" 2>/dev/null || die "unable to write to '${output}'"
# run tests
( cd "${SRC_DIR}"; ./shflags_test.sh |tee "${output}" )

0 comments on commit 24c41aa

Please sign in to comment.