From 084fd6ead3ce37fed910dde08e69a2461582e3eb Mon Sep 17 00:00:00 2001 From: Matias Barcenas Date: Sun, 27 Aug 2017 15:06:01 -0500 Subject: [PATCH] Added XServer/XTerm execution test. --- scripts/diagnostics.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/diagnostics.sh b/scripts/diagnostics.sh index eda151c..fa87374 100755 --- a/scripts/diagnostics.sh +++ b/scripts/diagnostics.sh @@ -39,6 +39,11 @@ echo -ne "\n\n" echo "[ XTerm Info ]" echo "Version: `xterm -version`" echo "Path: `ls -L $(which xterm)`" +echo -n "Test: " +if xterm -hold -fg "#FFFFFF" -bg "#000000" -title "XServer/XTerm Test" -e "echo \"XServer/XTerm test: close window to continue...\"" + then echo "XServer/XTerm success!" + else echo "XServer/XTerm failure!" +fi echo -ne "\n\n" echo "[ HostAPD Info ]"