Changeset 501 in kBuild for vendor/gnumake/current/tests/scripts/features/export
- Timestamp:
- Sep 15, 2006 2:30:32 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vendor/gnumake/current/tests/scripts/features/export
r53 r501 57 57 # TEST 1: make sure vars inherited from the parent are exported 58 58 59 $ ENV{FOO} = 1;59 $extraENV{FOO} = 1; 60 60 61 61 &run_make_with_options($makefile,"",&get_logfile,0); … … 65 65 66 66 &compare_output($answer,&get_logfile(1)); 67 68 delete $ENV{FOO};69 67 70 68 # TEST 2: global export. Explicit unexport takes precedence. … … 238 236 close(MAKEFILE); 239 237 240 @ ENV{qw(A B C D E F G H I J)} = qw(1 2 3 4 5 6 7 8 9 10);238 @extraENV{qw(A B C D E F G H I J)} = qw(1 2 3 4 5 6 7 8 9 10); 241 239 242 240 &run_make_with_options($makefile5,"",&get_logfile,0); … … 244 242 &compare_output($answer,&get_logfile(1)); 245 243 246 delete @ENV{qw(A B C D E F G H I J)};247 248 244 249 245 # This tells the test driver that the perl test script executed properly.
Note:
See TracChangeset
for help on using the changeset viewer.

