diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2012-01-24 13:54:12 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2012-01-24 13:54:40 -0800 |
commit | 071ca141ec7987a5eca782227ce70db434a206ab (patch) | |
tree | 713d34109e29cb7dd844fe98b6f1d5fcf7626bd4 | |
parent | fb9eea88856d73a5f25295a52f6d4df7fabc565b (diff) | |
download | bison-071ca141ec7987a5eca782227ce70db434a206ab.tar.gz |
tests: port to Solaris 10 'diff -u'
* tests/regression.at (parse-gram.y: LALR = IELR): Port to Solaris 10,
where "diff -u X X" outputs "No differences encountered"
instead of outputting nothing. Reported by Tomohiro Suzuki in
<http://lists.gnu.org/archive/html/bug-bison/2012-01/msg00101.html>.
-rw-r--r-- | tests/regression.at | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/regression.at b/tests/regression.at index 59e19982..5affe4d9 100644 --- a/tests/regression.at +++ b/tests/regression.at @@ -1258,10 +1258,10 @@ AT_SETUP([[parse-gram.y: LALR = IELR]]) # output files have the same name. [cp $abs_top_srcdir/src/parse-gram.y input.y] AT_BISON_CHECK([[-o input.c -Dlr.type=lalr input.y]]) -[mv input.c lalr.c] +[mv input.c expout] AT_BISON_CHECK([[-o input.c -Dlr.type=ielr input.y]]) [mv input.c ielr.c] -AT_CHECK([[diff -u lalr.c ielr.c]]) +AT_CHECK([[cat ielr.c]], [[0]], [[expout]]) AT_CLEANUP |