Imported Upstream version 1.4.19
[platform/upstream/m4.git] / checks / 209.using_froz
1 dnl @ ../doc/m4.texi:7238: Origin of test
2 dnl @ expected status: 0
3 dnl @ extra options: 
4 dnl @ Copyright (C) 2006, 2007, 2008, 2009 Free Software
5 dnl @ Foundation, Inc.
6 dnl @ This file is free software; the Free Software Foundation
7 dnl @ gives unlimited permission to copy and/or distribute it
8 dnl @ with or without modifications, as long as this notice
9 dnl @ is preserved.
10 ifdef(`__unix__', ,
11       `errprint(` skipping: syscmd does not have unix semantics
12 ')m4exit(`77')')dnl
13 changequote(`[', `]')dnl
14 syscmd([echo 'changequote([,])pushdef([divnum],[hi])dnl' \
15        | ']__program__[' -F in.m4f \
16      && echo 'divnum popdef([divnum])divnum' \
17        | ']__program__[' -R in.m4f \
18      && rm in.m4f])status sysval
19 dnl @result{}hi 0
20 dnl @result{}status 0