--TEST-- Test touch() function : variation: various valid and invalid paths --CREDITS-- Dave Kelsey --SKIPIF-- --FILE-- --EXPECTF-- *** Testing touch() : variation *** *** testing nonexisting paths *** --- testing touchVar5.tmp/aSubDirOrFile --- PASSED: touchVar5.tmp/aSubDirOrFile - created --- testing ./touchVar5.tmp/aSubDirOrFile --- PASSED: ./touchVar5.tmp/aSubDirOrFile - created --- testing touchVar5.tmp/../touchVar5.tmp/aSubDirOrFile --- PASSED: touchVar5.tmp/../touchVar5.tmp/aSubDirOrFile - created --- testing touchVar5.tmp/../BADDIR/aSubDirOrFile --- Warning: touch(): Unable to create file touchVar5.tmp/../BADDIR/aSubDirOrFile because %s in %s on line %d --- testing BADDIR/aSubDirOrFile --- Warning: touch(): Unable to create file BADDIR/aSubDirOrFile because %s in %s on line %d --- testing %s/touchVar5.tmp/aSubDirOrFile --- PASSED: %s/touchVar5.tmp/aSubDirOrFile - created --- testing %s/./touchVar5.tmp/aSubDirOrFile --- PASSED: %s/./touchVar5.tmp/aSubDirOrFile - created --- testing %s/touchVar5.tmp/../touchVar5.tmp/aSubDirOrFile --- PASSED: %s/touchVar5.tmp/../touchVar5.tmp/aSubDirOrFile - created --- testing %s/BADDIR/aSubDirOrFile --- Warning: touch(): Unable to create file %s/BADDIR/aSubDirOrFile because %s in %s on line %d --- testing touchVar5.tmp/aSubDirOrFile/ --- Warning: touch(): Unable to create file touchVar5.tmp/aSubDirOrFile/ because %s in %s on line %d --- testing %s/touchVar5.tmp/aSubDirOrFile/ --- Warning: touch(): Unable to create file %s/touchVar5.tmp/aSubDirOrFile/ because %s in %s on line %d --- testing touchVar5.tmp//aSubDirOrFile --- PASSED: touchVar5.tmp//aSubDirOrFile - created --- testing %s//touchVar5.tmp//aSubDirOrFile --- PASSED: %s//touchVar5.tmp//aSubDirOrFile - created *** testing existing files *** --- testing touchVar5.tmp/aSubDirOrFile --- PASSED: touchVar5.tmp/aSubDirOrFile - touched --- testing ./touchVar5.tmp/aSubDirOrFile --- PASSED: ./touchVar5.tmp/aSubDirOrFile - touched --- testing touchVar5.tmp/../touchVar5.tmp/aSubDirOrFile --- PASSED: touchVar5.tmp/../touchVar5.tmp/aSubDirOrFile - touched --- testing %s/touchVar5.tmp/aSubDirOrFile --- PASSED: %s/touchVar5.tmp/aSubDirOrFile - touched --- testing %s/./touchVar5.tmp/aSubDirOrFile --- PASSED: %s/./touchVar5.tmp/aSubDirOrFile - touched --- testing %s/touchVar5.tmp/../touchVar5.tmp/aSubDirOrFile --- PASSED: %s/touchVar5.tmp/../touchVar5.tmp/aSubDirOrFile - touched --- testing touchVar5.tmp//aSubDirOrFile --- PASSED: touchVar5.tmp//aSubDirOrFile - touched --- testing %s//touchVar5.tmp//aSubDirOrFile --- PASSED: %s//touchVar5.tmp//aSubDirOrFile - touched *** testing existing directories *** --- testing touchVar5.tmp/aSubDirOrFile --- PASSED: touchVar5.tmp/aSubDirOrFile - touched --- testing ./touchVar5.tmp/aSubDirOrFile --- PASSED: ./touchVar5.tmp/aSubDirOrFile - touched --- testing touchVar5.tmp/../touchVar5.tmp/aSubDirOrFile --- PASSED: touchVar5.tmp/../touchVar5.tmp/aSubDirOrFile - touched --- testing %s/touchVar5.tmp/aSubDirOrFile --- PASSED: %s/touchVar5.tmp/aSubDirOrFile - touched --- testing %s/./touchVar5.tmp/aSubDirOrFile --- PASSED: %s/./touchVar5.tmp/aSubDirOrFile - touched --- testing %s/touchVar5.tmp/../touchVar5.tmp/aSubDirOrFile --- PASSED: %s/touchVar5.tmp/../touchVar5.tmp/aSubDirOrFile - touched --- testing touchVar5.tmp/aSubDirOrFile/ --- PASSED: touchVar5.tmp/aSubDirOrFile/ - touched --- testing %s/touchVar5.tmp/aSubDirOrFile/ --- PASSED: %s/touchVar5.tmp/aSubDirOrFile/ - touched --- testing touchVar5.tmp//aSubDirOrFile --- PASSED: touchVar5.tmp//aSubDirOrFile - touched --- testing %s//touchVar5.tmp//aSubDirOrFile --- PASSED: %s//touchVar5.tmp//aSubDirOrFile - touched