-
- Downloads
fflush in src/list.c to make tested behavior consistent
On glibc, if output is redirected to a file, output will look like this: touch test/ok/gif touch test/ok/jpg touch test/ok/png touch test/ok/pnm test/ok/gif test/ok/jpg test/ok/png test/ok/pnm On musl, if stdout is redirected to a file, output looks like this: test/ok/gif touch test/ok/gif touch test/ok/jpg touch test/ok/png touch test/ok/pnm test/ok/jpg test/ok/png test/ok/pnm On glibc and musl, if stdout is interactive, it looks like this: test/ok/gif touch test/ok/gif test/ok/jpg touch test/ok/jpg test/ok/png touch test/ok/png test/ok/pnm touch test/ok/pnm Adding two fflush calls makes all behavior look like the last example. Test cases have been updated accordingly.
Showing
- src/list.c 2 additions, 0 deletionssrc/list.c
- test/nx_action/loadable_action 4 additions, 4 deletionstest/nx_action/loadable_action
- test/nx_action/loadable_naction 4 additions, 4 deletionstest/nx_action/loadable_naction
- test/nx_action/unloadable_action 4 additions, 4 deletionstest/nx_action/unloadable_action
- test/nx_action/unloadable_naction 4 additions, 4 deletionstest/nx_action/unloadable_naction
Please register or sign in to comment