robsd-exec: timeout 3600s + . /usr/local/libexec/robsd/util.sh + . /usr/local/libexec/robsd/util-regress.sh + config_load + << "EOF" + _err=0 + _env=REGRESS_FAIL_EARLY=no + config_value regress-usr.bin/sdiff-env + 2> /dev/null + _env=REGRESS_FAIL_EARLY=no GOCACHE=/tmp + _make=make -C /home/src/regress/usr.bin/sdiff REGRESS_FAIL_EARLY=no GOCACHE=/tmp + config_value regress-usr.bin/sdiff-targets + regress_root usr.bin/sdiff + export SUDO + unpriv -c staff build exec make -C /home/src/regress/usr.bin/sdiff REGRESS_FAIL_EARLY=no GOCACHE=/tmp regress ==== test-lflag ==== sdiff -l /home/src/regress/usr.bin/sdiff/file1 /home/src/regress/usr.bin/sdiff/file2 | diff -u /home/src/regress/usr.bin/sdiff/lflag.out - ==== test-sflag ==== sdiff -s /home/src/regress/usr.bin/sdiff/file1 /home/src/regress/usr.bin/sdiff/file2 | diff -u /home/src/regress/usr.bin/sdiff/sflag.out - ==== test-wflag ==== sdiff -w 40 /home/src/regress/usr.bin/sdiff/file1 /home/src/regress/usr.bin/sdiff/file2 | diff -u /home/src/regress/usr.bin/sdiff/wflag.out - ==== test-tabs ==== sdiff /home/src/regress/usr.bin/sdiff/tabs.in /home/src/regress/usr.bin/sdiff/tabs.in | diff -u /home/src/regress/usr.bin/sdiff/tabs.out - ==== test-tabends ==== sdiff -w30 /home/src/regress/usr.bin/sdiff/tabends /dev/null | diff -u /home/src/regress/usr.bin/sdiff/tabends.out - ==== test-tabends2 ==== sdiff -w30 /dev/null /home/src/regress/usr.bin/sdiff/tabends | diff -u /home/src/regress/usr.bin/sdiff/tabends2.out - ==== test-tabends3 ==== sdiff -w19 /home/src/regress/usr.bin/sdiff/tabends /dev/null | diff -u /home/src/regress/usr.bin/sdiff/tabends3.out - ==== test-merge ==== yes l | sdiff -o merge.out /home/src/regress/usr.bin/sdiff/file1 /home/src/regress/usr.bin/sdiff/file2 >/dev/null || true diff -u /home/src/regress/usr.bin/sdiff/file1 merge.out ==== test-merge2 ==== yes r | sdiff -o merge.out /home/src/regress/usr.bin/sdiff/file1 /home/src/regress/usr.bin/sdiff/file2 >/dev/null || true diff -u /home/src/regress/usr.bin/sdiff/file2 merge.out ==== test-merge3 ==== yes el | VISUAL=cat sdiff -o merge.out /home/src/regress/usr.bin/sdiff/file1 /home/src/regress/usr.bin/sdiff/file2 >/dev/null || true diff -u /home/src/regress/usr.bin/sdiff/file1 merge.out ==== test-merge4 ==== yes er | VISUAL=cat sdiff -o merge.out /home/src/regress/usr.bin/sdiff/file1 /home/src/regress/usr.bin/sdiff/file2 >/dev/null || true diff -u /home/src/regress/usr.bin/sdiff/file2 merge.out ==== test-merge5 ==== yes l | sdiff -so merge.out /home/src/regress/usr.bin/sdiff/file1 /home/src/regress/usr.bin/sdiff/file2 >/dev/null || true diff -u /home/src/regress/usr.bin/sdiff/file1 merge.out ==== test-merge6 ==== yes r | sdiff -so merge.out /home/src/regress/usr.bin/sdiff/file1 /home/src/regress/usr.bin/sdiff/file2 >/dev/null || true diff -u /home/src/regress/usr.bin/sdiff/file2 merge.out ==== test-merge7 ==== yes l | sdiff -lo merge.out /home/src/regress/usr.bin/sdiff/file1 /home/src/regress/usr.bin/sdiff/file2 >/dev/null || true diff -u /home/src/regress/usr.bin/sdiff/file1 merge.out ==== test-merge8 ==== yes r | sdiff -lo merge.out /home/src/regress/usr.bin/sdiff/file1 /home/src/regress/usr.bin/sdiff/file2 >/dev/null || true diff -u /home/src/regress/usr.bin/sdiff/file2 merge.out ==== test-merge9 ==== yes l | sdiff -lso merge.out /home/src/regress/usr.bin/sdiff/file1 /home/src/regress/usr.bin/sdiff/file2 >/dev/null || true diff -u /home/src/regress/usr.bin/sdiff/file1 merge.out ==== test-merge10 ==== yes r | sdiff -lso merge.out /home/src/regress/usr.bin/sdiff/file1 /home/src/regress/usr.bin/sdiff/file2 >/dev/null || true diff -u /home/src/regress/usr.bin/sdiff/file2 merge.out ==== test-merge11 ==== { while :; do echo s;echo l;echo v;echo l;done; } | sdiff -o merge.out /home/src/regress/usr.bin/sdiff/file1 /home/src/regress/usr.bin/sdiff/file2 >/dev/null || true diff -u /home/src/regress/usr.bin/sdiff/file1 merge.out ==== test-merge12 ==== { while :; do echo s;echo r;echo v;echo r;done; } | sdiff -o merge.out /home/src/regress/usr.bin/sdiff/file1 /home/src/regress/usr.bin/sdiff/file2 >/dev/null || true diff -u /home/src/regress/usr.bin/sdiff/file2 merge.out ==== test-same ==== sdiff /home/src/regress/usr.bin/sdiff/file1 /home/src/regress/usr.bin/sdiff/file1 | diff -u /home/src/regress/usr.bin/sdiff/same.out - ==== test-oneline ==== sdiff /dev/null /home/src/regress/usr.bin/sdiff/oneline.in | fgrep -q abcd ==== test-oneline2 ==== sdiff /home/src/regress/usr.bin/sdiff/oneline.in /dev/null | fgrep -q abcd ==== test-dot ==== sdiff /dev/null /home/src/regress/usr.bin/sdiff/dot.in | fgrep -q '> .' ==== test-dot2 ==== sdiff /home/src/regress/usr.bin/sdiff/dot.in /dev/null | fgrep -q . ==== test-short ==== diff -u /home/src/regress/usr.bin/sdiff/short.out /home/src/regress/usr.bin/sdiff/short.in ==== test-stdin ==== echo stdin | sdiff /dev/null /dev/stdin | fgrep -q '> stdin' ==== test-stdin2 ==== echo stdin | sdiff /dev/stdin /dev/null | fgrep -q stdin ==== test-Iflag12 ==== sdiff -w 125 -I '.*filename.*' /home/src/regress/usr.bin/sdiff/file1 /home/src/regress/usr.bin/sdiff/file2 | diff -u - /home/src/regress/usr.bin/sdiff/Iflag12.out ==== test-Iflag21 ==== sdiff -w 125 -I '.*filename.*' /home/src/regress/usr.bin/sdiff/file2 /home/src/regress/usr.bin/sdiff/file1 | diff -u - /home/src/regress/usr.bin/sdiff/Iflag21.out ==== test-Isflag12 ==== sdiff -sw 125 -I '.*filename.*' /home/src/regress/usr.bin/sdiff/file1 /home/src/regress/usr.bin/sdiff/file2 | diff -u - /home/src/regress/usr.bin/sdiff/Isflag12.out ==== test-Isflag21 ==== sdiff -sw 125 -I '.*filename.*' /home/src/regress/usr.bin/sdiff/file2 /home/src/regress/usr.bin/sdiff/file1 | diff -u - /home/src/regress/usr.bin/sdiff/Isflag21.out ==== test-Ilflag12 ==== sdiff -lw 125 -I '.*filename.*' /home/src/regress/usr.bin/sdiff/file1 /home/src/regress/usr.bin/sdiff/file2 | diff -u - /home/src/regress/usr.bin/sdiff/Ilflag12.out ==== test-Ilflag21 ==== sdiff -lw 125 -I '.*filename.*' /home/src/regress/usr.bin/sdiff/file2 /home/src/regress/usr.bin/sdiff/file1 | diff -u - /home/src/regress/usr.bin/sdiff/Ilflag21.out ==== test-Ilsflag12 ==== sdiff -sw 125 -I '.*filename.*' /home/src/regress/usr.bin/sdiff/file1 /home/src/regress/usr.bin/sdiff/file2 | diff -u - /home/src/regress/usr.bin/sdiff/Ilsflag12.out ==== test-Ilsflag21 ==== sdiff -sw 125 -I '.*filename.*' /home/src/regress/usr.bin/sdiff/file2 /home/src/regress/usr.bin/sdiff/file1 | diff -u - /home/src/regress/usr.bin/sdiff/Ilsflag21.out