Changeset bb9ec2d in mainline for uspace/lib/pcut/src/os/helenos.c
- Timestamp:
- 2017-03-07T20:47:35Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade
- Children:
- a737667e
- Parents:
- e796dc8
- git-author:
- Jiri Zarevucky <zarevucky.jiri@…> (2017-03-07 20:47:35)
- git-committer:
- Jakub Jermar <jakub@…> (2017-03-07 20:47:35)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/pcut/src/os/helenos.c
re796dc8 rbb9ec2d 170 170 snprintf(test_number_argument, MAX_TEST_NUMBER_WIDTH, "-t%d", test->id); 171 171 172 int *files[4];173 int fd_stdin = fileno(stdin);174 files[0] = &fd_stdin;175 files[1] = &tempfile;176 files[2] = &tempfile;177 files[3] = NULL;178 179 172 const char *const arguments[3] = { 180 173 self_path, … … 186 179 187 180 task_wait_t test_task_wait; 188 int rc = task_spawnvf(&test_task_id, &test_task_wait, self_path, arguments, files); 181 int rc = task_spawnvf(&test_task_id, &test_task_wait, self_path, arguments, 182 fileno(stdin), tempfile, tempfile); 189 183 if (rc != EOK) { 190 184 status = TEST_OUTCOME_ERROR;
Note:
See TracChangeset
for help on using the changeset viewer.