This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# waitForX [<cmd> [<arg> ...]] | |
# | |
# Wait for X Server to be ready, then run the given command once X server | |
# is ready. (Or simply return if no command is provided.) | |
# | |
function LOG { | |
echo $(date -R): $0: $* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# bb-xvfb <command> <and> <its> <arguments...> | |
# | |
# Wrapper for XVFB. Capture XVFB logs where we can see them. Dump | |
# XVFB framebuffer where can we can see it. Use a standard display size | |
# and dpi for all of our XVFB-wrapped tests. | |
# | |
# Note: "32" is not a valid depth for xvfb: https://bugs.freedesktop.org/show_bug.cgi?id=17453 (from 2008) |