/[make]/make/tests/scripts/options/symlinks
ViewVC logotype

Diff of /make/tests/scripts/options/symlinks

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

revision 1.1 by psmith, Mon Feb 28 07:48:23 2005 UTC revision 1.2 by psmith, Sat Jun 25 23:00:17 2005 UTC
# Line 42  if (eval { symlink("",""); 1 }) { Line 42  if (eval { symlink("",""); 1 }) {
42    run_make_test(undef, '-L', "make targ from sym");    run_make_test(undef, '-L', "make targ from sym");
43    
44    rmfiles('targ', 'dep', 'sym', 'dep1');    rmfiles('targ', 'dep', 'sym', 'dep1');
45    
46      # Check handling when symlinks point to non-existent files.  Without -L we
47      # should get an error: with -L we should use the timestamp of the symlink.
48    
49      symlink("../$dirname/dep", 'sym');
50      run_make_test('targ: sym ; @echo make $@ from $<', '',
51                    "#MAKE#: *** No rule to make target `sym', needed by `targ'.  Stop.", 512);
52    
53      run_make_test('targ: sym ; @echo make $@ from $<', '-L',
54                    'make targ from sym');
55    
56    
57      rmfiles('targ', 'sym');
58  }  }
59    
60  1;  1;

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

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