mirror of
https://github.com/gbdev/rgbds.git
synced 2026-09-09 23:37:08 +00:00
Specify COLUMNS in test scripts for consistent output
This commit is contained in:
+6
-1
@@ -1,8 +1,13 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
export LC_ALL=C
|
||||
set -o pipefail
|
||||
|
||||
export LC_ALL=C
|
||||
|
||||
# Screen width for help/usage text (for reproducible test results)
|
||||
export COLUMNS=79
|
||||
shopt -u checkwinsize # Prevent subsequent commands from resetting `COLUMNS`
|
||||
|
||||
otemp="$(mktemp)"
|
||||
gbtemp="$(mktemp)"
|
||||
gbtemp2="$(mktemp)"
|
||||
|
||||
Reference in New Issue
Block a user