]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: silence cephtool tests cleanup
authorLoic Dachary <loic@dachary.org>
Sun, 15 Dec 2013 20:34:37 +0000 (21:34 +0100)
committerLoic Dachary <loic@dachary.org>
Sun, 15 Dec 2013 20:45:31 +0000 (21:45 +0100)
The file removal installed to be triggered when the script stops must
not fail if the file does not exist.

Signed-off-by: Loic Dachary <loic@dachary.org>
qa/workunits/cephtool/test.sh

index 94f37dd118d62fab34c74b0595236a21f8a4e334..063b2594d98929116c242fbf5f8d2bf650a48972 100755 (executable)
@@ -26,7 +26,7 @@ expect_false()
 }
 
 TMPFILE=/tmp/test_invalid.$$
-trap "rm $TMPFILE" 0
+trap "rm -f $TMPFILE" 0
 
 function check_response()
 {