diff options
author | Steven Knight <knight@baldmt.com> | 2005-10-14 16:23:52 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2005-10-14 16:23:52 (GMT) |
commit | af962864b108d8fdd654edaf3c0300404ca07e3e (patch) | |
tree | 3a6877e15644a6da25570af9ee7aade000983ad4 /test/Repository | |
parent | 82c2f16e53cba1a639d568fe8d6780dfe30c56ab (diff) | |
download | SCons-af962864b108d8fdd654edaf3c0300404ca07e3e.zip SCons-af962864b108d8fdd654edaf3c0300404ca07e3e.tar.gz SCons-af962864b108d8fdd654edaf3c0300404ca07e3e.tar.bz2 |
Get rid of indentation tabs in the test scripts and have runtest.py invoke them with the python -tt option to keep them out.
Diffstat (limited to 'test/Repository')
-rw-r--r-- | test/Repository/CPPPATH.py | 12 | ||||
-rw-r--r-- | test/Repository/LIBPATH.py | 12 | ||||
-rw-r--r-- | test/Repository/Program.py | 58 | ||||
-rw-r--r-- | test/Repository/StaticLibrary.py | 28 | ||||
-rw-r--r-- | test/Repository/absolute-path.py | 16 | ||||
-rw-r--r-- | test/Repository/include.py | 28 | ||||
-rw-r--r-- | test/Repository/link-object.py | 16 | ||||
-rw-r--r-- | test/Repository/multi-dir.py | 18 | ||||
-rw-r--r-- | test/Repository/no-repository.py | 14 | ||||
-rw-r--r-- | test/Repository/signature-order.py | 14 | ||||
-rw-r--r-- | test/Repository/top-level-path.py | 16 | ||||
-rw-r--r-- | test/Repository/variants.py | 90 | ||||
-rw-r--r-- | test/Repository/within-repository.py | 28 |
13 files changed, 175 insertions, 175 deletions
diff --git a/test/Repository/CPPPATH.py b/test/Repository/CPPPATH.py index 9638375..6ec21f3 100644 --- a/test/Repository/CPPPATH.py +++ b/test/Repository/CPPPATH.py @@ -37,7 +37,7 @@ test = TestSCons.TestSCons() test.subdir('repository', ['repository', 'include1'], ['repository', 'include2'], - 'work') + 'work') work_foo = test.workpath('work', 'foo') @@ -45,11 +45,11 @@ opts = '-Y ' + test.workpath('repository') # test.write(['repository', 'include1', 'foo.h'], r""" -#define STRING "repository/include1/foo.h" +#define STRING "repository/include1/foo.h" """) test.write(['repository', 'include2', 'foo.h'], r""" -#define STRING "repository/include2/foo.h" +#define STRING "repository/include2/foo.h" """) test.write(['repository', 'foo.c'], r""" @@ -57,9 +57,9 @@ test.write(['repository', 'foo.c'], r""" int main(int argc, char *argv[]) { - argv[argc++] = "--"; - printf("%s\n", STRING); - exit (0); + argv[argc++] = "--"; + printf("%s\n", STRING); + exit (0); } """) diff --git a/test/Repository/LIBPATH.py b/test/Repository/LIBPATH.py index 8f0a12f..c4470d2 100644 --- a/test/Repository/LIBPATH.py +++ b/test/Repository/LIBPATH.py @@ -65,9 +65,9 @@ test.write(['work', 'aaa.c'], r""" int main(int argc, char *argv[]) { - argv[argc++] = "--"; - printf("work/aaa.c\n"); - exit (0); + argv[argc++] = "--"; + printf("work/aaa.c\n"); + exit (0); } """) @@ -75,9 +75,9 @@ test.write(['work', 'bbb.c'], r""" int main(int argc, char *argv[]) { - argv[argc++] = "--"; - printf("work/bbb.c\n"); - exit (0); + argv[argc++] = "--"; + printf("work/bbb.c\n"); + exit (0); } """) diff --git a/test/Repository/Program.py b/test/Repository/Program.py index 6f06975..93bcb85 100644 --- a/test/Repository/Program.py +++ b/test/Repository/Program.py @@ -54,7 +54,7 @@ test.write(['repository', 'aaa.c'], r""" void aaa(void) { - printf("repository/aaa.c\n"); + printf("repository/aaa.c\n"); } """) @@ -62,7 +62,7 @@ test.write(['repository', 'bbb.c'], r""" void bbb(void) { - printf("repository/bbb.c\n"); + printf("repository/bbb.c\n"); } """) @@ -72,11 +72,11 @@ extern void bbb(void); int main(int argc, char *argv[]) { - argv[argc++] = "--"; - aaa(); - bbb(); - printf("repository/foo.c\n"); - exit (0); + argv[argc++] = "--"; + aaa(); + bbb(); + printf("repository/foo.c\n"); + exit (0); } """) @@ -98,7 +98,7 @@ test.write(['work1', 'bbb.c'], r""" void bbb(void) { - printf("work1/bbb.c\n"); + printf("work1/bbb.c\n"); } """) @@ -116,7 +116,7 @@ test.write(['work1', 'aaa.c'], r""" void aaa(void) { - printf("work1/aaa.c\n"); + printf("work1/aaa.c\n"); } """) @@ -126,11 +126,11 @@ extern void bbb(void); int main(int argc, char *argv[]) { - argv[argc++] = "--"; - aaa(); - bbb(); - printf("work1/foo.c\n"); - exit (0); + argv[argc++] = "--"; + aaa(); + bbb(); + printf("work1/foo.c\n"); + exit (0); } """) @@ -188,7 +188,7 @@ test.write(['repository.old', 'aaa.c'], r""" void aaa(void) { - printf("repository.old/aaa.c\n"); + printf("repository.old/aaa.c\n"); } """) @@ -196,7 +196,7 @@ test.write(['repository.old', 'bbb.c'], r""" void bbb(void) { - printf("repository.old/bbb.c\n"); + printf("repository.old/bbb.c\n"); } """) @@ -206,11 +206,11 @@ extern void bbb(void); int main(int argc, char *argv[]) { - argv[argc++] = "--"; - aaa(); - bbb(); - printf("repository.old/foo.c\n"); - exit (0); + argv[argc++] = "--"; + aaa(); + bbb(); + printf("repository.old/foo.c\n"); + exit (0); } """) @@ -235,7 +235,7 @@ test.write(['repository.new', 'aaa.c'], r""" void aaa(void) { - printf("repository.new/aaa.c\n"); + printf("repository.new/aaa.c\n"); } """) @@ -243,7 +243,7 @@ test.write(['work2', 'bbb.c'], r""" void bbb(void) { - printf("work2/bbb.c\n"); + printf("work2/bbb.c\n"); } """) @@ -264,7 +264,7 @@ test.write(['work2', 'aaa.c'], r""" void aaa(void) { - printf("work2/aaa.c\n"); + printf("work2/aaa.c\n"); } """) @@ -274,11 +274,11 @@ extern void bbb(void); int main(int argc, char *argv[]) { - argv[argc++] = "--"; - aaa(); - bbb(); - printf("work2/foo.c\n"); - exit (0); + argv[argc++] = "--"; + aaa(); + bbb(); + printf("work2/foo.c\n"); + exit (0); } """) diff --git a/test/Repository/StaticLibrary.py b/test/Repository/StaticLibrary.py index f104448..087fa7e 100644 --- a/test/Repository/StaticLibrary.py +++ b/test/Repository/StaticLibrary.py @@ -69,7 +69,7 @@ test.write(['repository', 'aaa.c'], r""" void aaa(void) { - printf("repository/aaa.c\n"); + printf("repository/aaa.c\n"); } """) @@ -77,7 +77,7 @@ test.write(['repository', 'bbb.c'], r""" void bbb(void) { - printf("repository/bbb.c\n"); + printf("repository/bbb.c\n"); } """) @@ -87,11 +87,11 @@ extern void bbb(void); int main(int argc, char *argv[]) { - argv[argc++] = "--"; - aaa(); - bbb(); - printf("repository/foo.c\n"); - exit (0); + argv[argc++] = "--"; + aaa(); + bbb(); + printf("repository/foo.c\n"); + exit (0); } """) @@ -121,7 +121,7 @@ test.write(['work1', 'bbb.c'], r""" void bbb(void) { - printf("work1/bbb.c\n"); + printf("work1/bbb.c\n"); } """) @@ -171,7 +171,7 @@ test.write(['work2', 'bbb.c'], r""" void bbb(void) { - printf("work2/bbb.c\n"); + printf("work2/bbb.c\n"); } """) @@ -199,11 +199,11 @@ extern void bbb(void); int main(int argc, char *argv[]) { - argv[argc++] = "--"; - aaa(); - bbb(); - printf("work3/foo.c\n"); - exit (0); + argv[argc++] = "--"; + aaa(); + bbb(); + printf("work3/foo.c\n"); + exit (0); } """) diff --git a/test/Repository/absolute-path.py b/test/Repository/absolute-path.py index ecbe444..ed360c7 100644 --- a/test/Repository/absolute-path.py +++ b/test/Repository/absolute-path.py @@ -38,7 +38,7 @@ test = TestSCons.TestSCons() test.subdir('repository', ['repository', 'src'], 'subdir', - 'work') + 'work') src_SConscript = os.path.join('src', 'SConscript') subdir_aaa_c = test.workpath('subdir', 'aaa.c') @@ -60,7 +60,7 @@ test.write(['repository', 'src', 'aaa.c'], r""" void src_aaa(void) { - printf("repository/src/aaa.c\n"); + printf("repository/src/aaa.c\n"); } """) @@ -68,7 +68,7 @@ test.write(['subdir', 'aaa.c'], r""" void subdir_aaa(void) { - printf("subdir/aaa.c\n"); + printf("subdir/aaa.c\n"); } """) @@ -78,11 +78,11 @@ extern void subdir_aaa(void); int main(int argc, char *argv[]) { - argv[argc++] = "--"; - src_aaa(); - subdir_aaa(); - printf("repository/src/foo.c\n"); - exit (0); + argv[argc++] = "--"; + src_aaa(); + subdir_aaa(); + printf("repository/src/foo.c\n"); + exit (0); } """) diff --git a/test/Repository/include.py b/test/Repository/include.py index e555e9e..577442a 100644 --- a/test/Repository/include.py +++ b/test/Repository/include.py @@ -47,12 +47,12 @@ env.Program(target = 'foo', source = 'foo.c') """ % repository) test.write(['repository', 'foo.h'], r""" -#define STRING1 "repository/foo.h" +#define STRING1 "repository/foo.h" #include <bar.h> """) test.write(['repository', 'bar.h'], r""" -#define STRING2 "repository/bar.h" +#define STRING2 "repository/bar.h" """) test.write(['repository', 'foo.c'], r""" @@ -60,11 +60,11 @@ test.write(['repository', 'foo.c'], r""" int main(int argc, char *argv[]) { - argv[argc++] = "--"; - printf("%s\n", STRING1); - printf("%s\n", STRING2); - printf("repository/foo.c\n"); - exit (0); + argv[argc++] = "--"; + printf("%s\n", STRING1); + printf("%s\n", STRING2); + printf("repository/foo.c\n"); + exit (0); } """) @@ -84,7 +84,7 @@ test.up_to_date(chdir = 'work', arguments = '.') # test.write(['work', 'foo.h'], r""" -#define STRING1 "work/foo.h" +#define STRING1 "work/foo.h" #include <bar.h> """) @@ -104,11 +104,11 @@ test.write(['work', 'foo.c'], r""" int main(int argc, char *argv[]) { - argv[argc++] = "--"; - printf("%s\n", STRING1); - printf("%s\n", STRING2); - printf("work/foo.c\n"); - exit (0); + argv[argc++] = "--"; + printf("%s\n", STRING1); + printf("%s\n", STRING2); + printf("work/foo.c\n"); + exit (0); } """) @@ -124,7 +124,7 @@ test.up_to_date(chdir = 'work', arguments = '.') # test.write(['work', 'bar.h'], r""" -#define STRING2 "work/bar.h" +#define STRING2 "work/bar.h" """) test.run(chdir = 'work', arguments = '.') diff --git a/test/Repository/link-object.py b/test/Repository/link-object.py index 503363e..63c274e 100644 --- a/test/Repository/link-object.py +++ b/test/Repository/link-object.py @@ -55,7 +55,7 @@ test.write(['repository', 'aaa.c'], r""" void aaa(void) { - printf("repository/aaa.c\n"); + printf("repository/aaa.c\n"); } """) @@ -63,7 +63,7 @@ test.write(['repository', 'bbb.c'], r""" void bbb(void) { - printf("repository/bbb.c\n"); + printf("repository/bbb.c\n"); } """) @@ -73,11 +73,11 @@ extern void bbb(void); int main(int argc, char *argv[]) { - argv[argc++] = "--"; - aaa(); - bbb(); - printf("repository/foo.c\n"); - exit (0); + argv[argc++] = "--"; + aaa(); + bbb(); + printf("repository/foo.c\n"); + exit (0); } """) @@ -110,7 +110,7 @@ test.write(['work', 'bbb.c'], r""" void bbb(void) { - printf("work/bbb.c\n"); + printf("work/bbb.c\n"); } """) diff --git a/test/Repository/multi-dir.py b/test/Repository/multi-dir.py index 777baf8..4532cc3 100644 --- a/test/Repository/multi-dir.py +++ b/test/Repository/multi-dir.py @@ -64,12 +64,12 @@ env.Program(target = 'xxx', source = 'main.c') """) test.write(['repository', 'include', 'my_string.h'], r""" -#define MY_STRING "repository/include/my_string.h" +#define MY_STRING "repository/include/my_string.h" """) test.write(['repository', 'src', 'include.h'], r""" #include <my_string.h> -#define LOCAL_STRING "repository/src/include.h" +#define LOCAL_STRING "repository/src/include.h" """) test.write(['repository', 'src', 'main.c'], r""" @@ -77,11 +77,11 @@ test.write(['repository', 'src', 'main.c'], r""" int main(int argc, char *argv[]) { - argv[argc++] = "--"; - printf("%s\n", MY_STRING); - printf("%s\n", LOCAL_STRING); - printf("repository/src/main.c\n"); - exit (0); + argv[argc++] = "--"; + printf("%s\n", MY_STRING); + printf("%s\n", LOCAL_STRING); + printf("repository/src/main.c\n"); + exit (0); } """) @@ -99,7 +99,7 @@ repository/src/main.c # test.write(['work', 'include', 'my_string.h'], r""" -#define MY_STRING "work/include/my_string.h" +#define MY_STRING "work/include/my_string.h" """) test.run(chdir = 'work', options = opts, arguments = ".") @@ -112,7 +112,7 @@ repository/src/main.c test.write(['work', 'src', 'include.h'], r""" #include <my_string.h> -#define LOCAL_STRING "work/src/include.h" +#define LOCAL_STRING "work/src/include.h" """) test.run(chdir = 'work', options = opts, arguments = ".") diff --git a/test/Repository/no-repository.py b/test/Repository/no-repository.py index db8431d..6dc9add 100644 --- a/test/Repository/no-repository.py +++ b/test/Repository/no-repository.py @@ -53,7 +53,7 @@ test.write(['work', 'aaa.c'], r""" void aaa(void) { - printf("work/aaa.c\n"); + printf("work/aaa.c\n"); } """) @@ -61,7 +61,7 @@ test.write(['work', 'bbb.c'], r""" void bbb(void) { - printf("work/bbb.c\n"); + printf("work/bbb.c\n"); } """) @@ -71,11 +71,11 @@ extern void bbb(void); int main(int argc, char *argv[]) { - argv[argc++] = "--"; - aaa(); - bbb(); - printf("work/foo.c\n"); - exit (0); + argv[argc++] = "--"; + aaa(); + bbb(); + printf("work/foo.c\n"); + exit (0); } """) diff --git a/test/Repository/signature-order.py b/test/Repository/signature-order.py index 2329569..8069b60 100644 --- a/test/Repository/signature-order.py +++ b/test/Repository/signature-order.py @@ -50,11 +50,11 @@ env.Program(target = 'foo', source = 'foo.c') """ % repository) foo_h_contents = """\ -#define STRING1 "foo.h" +#define STRING1 "foo.h" """ bar_h_contents = """\ -#define STRING2 "bar.h" +#define STRING2 "bar.h" """ test.write(['repository', 'foo.h'], foo_h_contents) @@ -67,11 +67,11 @@ test.write(['repository', 'foo.c'], r""" int main(int argc, char *argv[]) { - argv[argc++] = "--"; - printf("%s\n", STRING1); - printf("%s\n", STRING2); - printf("repository/foo.c\n"); - exit (0); + argv[argc++] = "--"; + printf("%s\n", STRING1); + printf("%s\n", STRING2); + printf("repository/foo.c\n"); + exit (0); } """) diff --git a/test/Repository/top-level-path.py b/test/Repository/top-level-path.py index 00c056c..2d4164a 100644 --- a/test/Repository/top-level-path.py +++ b/test/Repository/top-level-path.py @@ -38,7 +38,7 @@ test = TestSCons.TestSCons() test.subdir('repository', ['repository', 'src'], ['repository', 'subdir'], - 'work') + 'work') src_SConscript = os.path.join('src', 'SConscript') work_src_foo = test.workpath('work', 'src', 'foo' + _exe) @@ -59,7 +59,7 @@ test.write(['repository', 'src', 'aaa.c'], r""" void src_aaa(void) { - printf("repository/src/aaa.c\n"); + printf("repository/src/aaa.c\n"); } """) @@ -67,7 +67,7 @@ test.write(['repository', 'subdir', 'aaa.c'], r""" void subdir_aaa(void) { - printf("repository/subdir/aaa.c\n"); + printf("repository/subdir/aaa.c\n"); } """) @@ -77,11 +77,11 @@ extern void subdir_aaa(void); int main(int argc, char *argv[]) { - argv[argc++] = "--"; - src_aaa(); - subdir_aaa(); - printf("repository/src/foo.c\n"); - exit (0); + argv[argc++] = "--"; + src_aaa(); + subdir_aaa(); + printf("repository/src/foo.c\n"); + exit (0); } """) diff --git a/test/Repository/variants.py b/test/Repository/variants.py index a0cc2af..f855636 100644 --- a/test/Repository/variants.py +++ b/test/Repository/variants.py @@ -44,7 +44,7 @@ test.subdir('repository', ['repository', 'src2', 'include'], ['repository', 'src2', 'xxx'], ['repository', 'build2'], - ['repository', 'build2', 'foo'], + ['repository', 'build2', 'foo'], ['repository', 'build2', 'bar'], 'work1', ['work1', 'src1'], @@ -124,11 +124,11 @@ env2.Program('xxx', ['main.c']) """) test.write(['repository', 'src1', 'iii.h'], r""" -#ifdef FOO -#define STRING "REPOSITORY_FOO" +#ifdef FOO +#define STRING "REPOSITORY_FOO" #endif -#ifdef BAR -#define STRING "REPOSITORY_BAR" +#ifdef BAR +#define STRING "REPOSITORY_BAR" #endif """) @@ -137,7 +137,7 @@ test.write(['repository', 'src1', 'aaa.c'], r""" void aaa(void) { - printf("repository/src1/aaa.c: %s\n", STRING); + printf("repository/src1/aaa.c: %s\n", STRING); } """) @@ -146,7 +146,7 @@ test.write(['repository', 'src1', 'bbb.c'], r""" void bbb(void) { - printf("repository/src1/bbb.c: %s\n", STRING); + printf("repository/src1/bbb.c: %s\n", STRING); } """) @@ -157,51 +157,51 @@ extern void bbb(void); int main(int argc, char *argv[]) { -#ifdef BAR - printf("Only when -DBAR.\n"); +#ifdef BAR + printf("Only when -DBAR.\n"); #endif - aaa(); - bbb(); - printf("repository/src1/main.c: %s\n", STRING); - exit (0); + aaa(); + bbb(); + printf("repository/src1/main.c: %s\n", STRING); + exit (0); } """) test.write(['repository', 'src2', 'include', 'my_string.h'], r""" -#ifdef FOO -#define INCLUDE_OS "FOO" +#ifdef FOO +#define INCLUDE_OS "FOO" #endif -#ifdef BAR -#define INCLUDE_OS "BAR" +#ifdef BAR +#define INCLUDE_OS "BAR" #endif -#define INCLUDE_STRING "repository/src2/include/my_string.h: %s\n" +#define INCLUDE_STRING "repository/src2/include/my_string.h: %s\n" """) test.write(['repository', 'src2', 'xxx', 'include.h'], r""" #include <my_string.h> -#ifdef FOO -#define XXX_OS "FOO" +#ifdef FOO +#define XXX_OS "FOO" #endif -#ifdef BAR -#define XXX_OS "BAR" +#ifdef BAR +#define XXX_OS "BAR" #endif -#define XXX_STRING "repository/src2/xxx/include.h: %s\n" +#define XXX_STRING "repository/src2/xxx/include.h: %s\n" """) test.write(['repository', 'src2', 'xxx', 'main.c'], r""" #include <include.h> -#ifdef FOO -#define MAIN_OS "FOO" +#ifdef FOO +#define MAIN_OS "FOO" #endif -#ifdef BAR -#define MAIN_OS "BAR" +#ifdef BAR +#define MAIN_OS "BAR" #endif main() { - printf(INCLUDE_STRING, INCLUDE_OS); - printf(XXX_STRING, XXX_OS); - printf("repository/src2/xxx/main.c: %s\n", MAIN_OS); - exit (0); + printf(INCLUDE_STRING, INCLUDE_OS); + printf(XXX_STRING, XXX_OS); + printf("repository/src2/xxx/main.c: %s\n", MAIN_OS); + exit (0); } """) @@ -270,11 +270,11 @@ test.up_to_date(chdir = 'work1', options = opts + " OS=bar", arguments = 'build1 time.sleep(2) test.write(['work1', 'src1', 'iii.h'], r""" -#ifdef FOO -#define STRING "WORK_FOO" +#ifdef FOO +#define STRING "WORK_FOO" #endif -#ifdef BAR -#define STRING "WORK_BAR" +#ifdef BAR +#define STRING "WORK_BAR" #endif """) @@ -327,13 +327,13 @@ test.fail_test(os.path.exists(test.workpath('work2', 'build2', 'bar', 'src2', 'x time.sleep(2) test.write(['work2', 'src2', 'include', 'my_string.h'], r""" -#ifdef FOO -#define INCLUDE_OS "FOO" +#ifdef FOO +#define INCLUDE_OS "FOO" #endif -#ifdef BAR -#define INCLUDE_OS "BAR" +#ifdef BAR +#define INCLUDE_OS "BAR" #endif -#define INCLUDE_STRING "work2/src2/include/my_string.h: %s\n" +#define INCLUDE_STRING "work2/src2/include/my_string.h: %s\n" """) # @@ -361,13 +361,13 @@ time.sleep(2) test.write(['work2', 'src2', 'xxx', 'include.h'], r""" #include <my_string.h> -#ifdef FOO -#define XXX_OS "FOO" +#ifdef FOO +#define XXX_OS "FOO" #endif -#ifdef BAR -#define XXX_OS "BAR" +#ifdef BAR +#define XXX_OS "BAR" #endif -#define XXX_STRING "work2/src2/xxx/include.h: %s\n" +#define XXX_STRING "work2/src2/xxx/include.h: %s\n" """) test.run(chdir = 'work2', options = opts, arguments = 'build2') diff --git a/test/Repository/within-repository.py b/test/Repository/within-repository.py index dc16d62..1cffe81 100644 --- a/test/Repository/within-repository.py +++ b/test/Repository/within-repository.py @@ -56,7 +56,7 @@ test.write(['repository', 'aaa.c'], r""" void aaa(void) { - printf("repository/aaa.c\n"); + printf("repository/aaa.c\n"); } """) @@ -64,7 +64,7 @@ test.write(['repository', 'bbb.c'], r""" void bbb(void) { - printf("repository/bbb.c\n"); + printf("repository/bbb.c\n"); } """) @@ -74,11 +74,11 @@ extern void bbb(void); int main(int argc, char *argv[]) { - argv[argc++] = "--"; - aaa(); - bbb(); - printf("repository/foo.c\n"); - exit (0); + argv[argc++] = "--"; + aaa(); + bbb(); + printf("repository/foo.c\n"); + exit (0); } """) @@ -91,7 +91,7 @@ test.write(['repository', 'src', 'aaa.c'], r""" void aaa(void) { - printf("repository/src/aaa.c\n"); + printf("repository/src/aaa.c\n"); } """) @@ -99,7 +99,7 @@ test.write(['repository', 'src', 'bbb.c'], r""" void bbb(void) { - printf("repository/src/bbb.c\n"); + printf("repository/src/bbb.c\n"); } """) @@ -109,11 +109,11 @@ extern void bbb(void); int main(int argc, char *argv[]) { - argv[argc++] = "--"; - aaa(); - bbb(); - printf("repository/src/bar.c\n"); - exit (0); + argv[argc++] = "--"; + aaa(); + bbb(); + printf("repository/src/bar.c\n"); + exit (0); } """) |