7c60cf0a5b
The test needs to check dup2 syscall status and not the
errno val
Change-Id: Ic88eb2047b839adbc9e12965b098d8960cd7e2b8
[ROCm/hip commit: 7720651f2d]