Lines Matching refs:chdir
756 * Test chdir and fchdir system calls.
794 /* now do the chdir to our test directory and then do the stat relative to that location */
795 my_err = chdir( &g_target_path[0] );
797 printf( "chdir call failed. got errno %d - %s. \n", errno, strerror( errno ) );
815 printf( "chdir call appears to have failed. stat buffer contents do not match! \n" );
820 my_err = chdir( "/" );
822 printf( "chdir call failed. got errno %d - %s. \n", errno, strerror( errno ) );
829 printf( "chdir to root volume has failed \n" );
859 printf( "chdir call appears to have failed. stat buffer contents do not match! \n" );
876 if ( chdir(cwd) != 0) /* Changes back to original directory, don't screw up the env. */