1 dnl @ ../doc/m4.texi:6898: Origin of test
2 dnl @ expected status: 0
3 dnl @ extra options: -G
4 dnl @ Copyright (C) 2006, 2007, 2008, 2009 Free Software
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
10 syscmd(`rm -f foo-*')sysval
12 len(maketemp(`foo-XXXXX'))
13 dnl @error{}m4:stdin:2: recommend using mkstemp instead
19 dnl @error{}m4:stdin:4: recommend using mkstemp instead
20 syscmd(`test -f foo-*')ifelse(sysval, `0', `0', `1')