diff options
| author | jvoisin | 2023-09-17 15:12:47 +0200 |
|---|---|---|
| committer | jvoisin | 2023-09-17 15:13:22 +0200 |
| commit | 09b5fc1fd8fefe672fa1bb3ef63cb43e0f5f5476 (patch) | |
| tree | dcf978a3c9004d6167c5bc8d5c9c5d590425eea4 /tests/Makefile | |
| parent | b2c20e6c16278fe556ce4c4ff7d3b146b3a8f009 (diff) | |
Add a test for stpcpy
Diffstat (limited to 'tests/Makefile')
| -rw-r--r-- | tests/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/Makefile b/tests/Makefile index 7f846c2..b702e2e 100644 --- a/tests/Makefile +++ b/tests/Makefile | |||
| @@ -78,6 +78,7 @@ TARGETS= \ | |||
| 78 | test_stpcpy_overwrite_over \ | 78 | test_stpcpy_overwrite_over \ |
| 79 | test_stpcpy_overwrite_under \ | 79 | test_stpcpy_overwrite_under \ |
| 80 | test_stpcpy_static_write \ | 80 | test_stpcpy_static_write \ |
| 81 | test_stpcpy_dynamic_write \ | ||
| 81 | test_stpncpy_overwrite_over \ | 82 | test_stpncpy_overwrite_over \ |
| 82 | test_stpncpy_overwrite_under \ | 83 | test_stpncpy_overwrite_under \ |
| 83 | test_stpncpy_static_write \ | 84 | test_stpncpy_static_write \ |
| @@ -141,7 +142,7 @@ $(TARGETS): %: %.c | |||
| 141 | 142 | ||
| 142 | run: $(TARGETS) | 143 | run: $(TARGETS) |
| 143 | $(foreach EXE, $(TARGETS), \ | 144 | $(foreach EXE, $(TARGETS), \ |
| 144 | timeout 1s ./$(EXE) 1 2 3 4 5 6 7 8 9 0 >/dev/null && echo "$(EXE) OK" || echo "$(EXE) FAIL" ; \ | 145 | timeout 1s ./$(EXE) 1234567890 2 3 4 5 6 7 8 9 0 >/dev/null && echo "$(EXE) OK" || echo "$(EXE) FAIL"; \ |
| 145 | ) | 146 | ) |
| 146 | 147 | ||
| 147 | clean: | 148 | clean: |
