From e4a306bacf448f45280ecafd174f1da9ca781cb6 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sun, 15 Nov 2015 15:46:03 +0100 Subject: torbrowser tests: silence xwdtopnm output --- bin/test_torbrowser-launcher.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/test_torbrowser-launcher.sh') diff --git a/bin/test_torbrowser-launcher.sh b/bin/test_torbrowser-launcher.sh index 7739e689..6a27344c 100755 --- a/bin/test_torbrowser-launcher.sh +++ b/bin/test_torbrowser-launcher.sh @@ -28,7 +28,7 @@ cleanup_all() { update_screenshot() { TIMESTAMP=$(date +%Y%m%d%H%M) - xwd -root -silent -display :$SCREEN.0 | xwdtopnm > screenshot.pnm + xwd -root -silent -display :$SCREEN.0 | xwdtopnm > screenshot.pnm 2>/dev/null pnmtopng screenshot.pnm > screenshot.png convert screenshot.png -adaptive-resize 128x96 screenshot-thumb.png cp screenshot.png $RESULTS/screenshot_$TIMESTAMP.png -- cgit v1.2.3-70-g09d2