diff options
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | tests/programs.py | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6a93993 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +*.pyc +.*/ diff --git a/tests/programs.py b/tests/programs.py index c6f05ee..613438a 100644 --- a/tests/programs.py +++ b/tests/programs.py @@ -121,7 +121,7 @@ int main(int argc, char *argv[]) { return 2; } - file = fopen(argv[0], "w"); + file = fopen(argv[1], "w"); if (file == NULL) { printf("Couldn't open %s for writing.", argv[1]); |