add logging of command to valgrind log
diff --git a/test/test_bins.sh b/test/test_bins.sh
index ba9c840..9fed05c 100755
--- a/test/test_bins.sh
+++ b/test/test_bins.sh
@@ -50,6 +50,7 @@
 run_flac ()
 {
 	if [ x"$FLAC__TEST_WITH_VALGRIND" = xyes ] ; then
+		echo "valgrind --leak-check=yes --show-reachable=yes --num-callers=100 flac $*" >>test_bins.valgrind.log
 		valgrind --leak-check=yes --show-reachable=yes --num-callers=100 --logfile-fd=4 flac $* 4>>test_bins.valgrind.log
 	else
 		flac $*