FEA-Bench / testbed /pre-commit__pre-commit /testing /resources /stdout_stderr_repo /tty-check-entry
| t() { | |
| if [ -t "$1" ]; then | |
| echo "$2: True" | |
| else | |
| echo "$2: False" | |
| fi | |
| } | |
| t 0 stdin | |
| t 1 stdout | |
| t 2 stderr | |
| t() { | |
| if [ -t "$1" ]; then | |
| echo "$2: True" | |
| else | |
| echo "$2: False" | |
| fi | |
| } | |
| t 0 stdin | |
| t 1 stdout | |
| t 2 stderr | |