/[autoconf]/autoconf/tests/tools.at
ViewVC logotype

Diff of /autoconf/tests/tools.at

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.65 by akim, Wed Oct 16 06:38:50 2002 UTC revision 1.66 by akim, Wed Oct 16 17:06:57 2002 UTC
# Line 111  AT_CLEANUP Line 111  AT_CLEANUP
111    
112    
113    
114    ## ------------------ ##
115    ## autom4te's cache.  ##
116    ## ------------------ ##
117    
118    AT_SETUP([autom4te cache])
119    
120    AT_DATA_M4SUGAR([[script.4s]],
121    [[m4_include([foo])
122    ]])
123    
124    # Everything is OK.
125    touch foo
126    AT_CHECK_M4SUGAR
127    
128    # We moved a file: it should fail
129    mkdir sub
130    mv foo sub
131    AT_CHECK_M4SUGAR([], [], [], [stderr])
132    AT_CHECK([[sed 's/^[^:]*m4:/m4:/' stderr]], [],
133    [m4: script.4s: 1: Cannot open foo: No such file or directory
134    ])
135    
136    # But if we change the main file, then we should no longer complain of
137    # missing files.
138    AT_DATA_M4SUGAR([[script.4s]],
139    [[m4_include([sub/foo])
140    ]])
141    AT_CHECK_M4SUGAR
142    
143    AT_CLEANUP
144    
145    
146    
147    
148  ## ------------------ ##  ## ------------------ ##
149  ## autoconf --trace.  ##  ## autoconf --trace.  ##

Legend:
Removed from v.1.65  
changed lines
  Added in v.1.66

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26