File: silent.sh

package info (click to toggle)
yabasic 1%3A2.91.1-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 4,168 kB
  • sloc: ansic: 12,434; sh: 4,417; makefile: 21
file content (13 lines) | stat: -rwxr-xr-x 186 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

#
# Check, if empty yabasic-program produces any warning
#
OUT=`./yabasic tests/resources/silent.yab 2>&1`
echo "$OUT"
if [ -n "$OUT" ]; then
    exit 1
else
    exit 0
fi