From bfbf62b6c91b368b1234f447352a89cd3961d81f Mon Sep 17 00:00:00 2001 From: Martin Schwenke Date: Thu, 21 Nov 2013 16:38:43 +1100 Subject: ctdb:tests/simple: Nobody looks at /tmp/recloop.out so use /dev/null instead Otherwise this should use mktemp, something should look at the output and the file should be removed. :-) Signed-off-by: Martin Schwenke Reviewed-by: Michael Adam Autobuild-User(master): Michael Adam Autobuild-Date(master): Wed Nov 27 20:39:00 CET 2013 on sn-devel-104 --- ctdb/tests/simple/54_ctdb_transaction_recovery.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctdb/tests/simple/54_ctdb_transaction_recovery.sh b/ctdb/tests/simple/54_ctdb_transaction_recovery.sh index 5bb56ecd33..acd92244c5 100755 --- a/ctdb/tests/simple/54_ctdb_transaction_recovery.sh +++ b/ctdb/tests/simple/54_ctdb_transaction_recovery.sh @@ -36,7 +36,7 @@ recovery_loop() recovery_loop_start() { - recovery_loop > /tmp/recloop.out & + recovery_loop >/dev/null & RECLOOP_PID=$! ctdb_test_exit_hook_add "kill $RECLOOP_PID >/dev/null 2>&1" } -- cgit