195150Sjmallett# $FreeBSD$ 295150Sjmallett 3208728Sbrianecho 1..60 4137587Snik 598759SjmallettREGRESSION_START($1) 695150Sjmallett 7164022SddsREGRESSION_TEST(`x', `jot -w "%X" -s , 100 1 200') 8164022SddsREGRESSION_TEST(`hhhh', `jot 50 20 120 2') 9164022SddsREGRESSION_TEST(`hhhd', `jot 50 20 120 -') 10164022SddsREGRESSION_TEST(`hhdh', `jot 50 20 - 2') 11164022SddsREGRESSION_TEST(`hhdd', `jot 50 20 - -') 12164022SddsREGRESSION_TEST(`hdhh', `jot 50 - 120 2') 13164022SddsREGRESSION_TEST(`hdhd', `jot 50 - 120 -') 14164022SddsREGRESSION_TEST(`hddh', `jot 50 - - 2') 15164022SddsREGRESSION_TEST(`hddd', `jot 50 - - -') 16164022SddsREGRESSION_TEST(`dhhh', `jot - 20 120 2') 17164022SddsREGRESSION_TEST(`dhhd', `jot - 20 120 -') 18164022SddsREGRESSION_TEST(`dhdh', `jot - 20 - 2') 19164022SddsREGRESSION_TEST(`dhdd', `jot - 20 - -') 20164022SddsREGRESSION_TEST(`ddhh', `jot - - 120 2') 21164022SddsREGRESSION_TEST(`ddhd', `jot - - 120 -') 22164022SddsREGRESSION_TEST(`dddh', `jot - - - 2') 23195443SbrianREGRESSION_TEST(`dddd', `jot - - - -') 24164022SddsREGRESSION_TEST(`hhhh2', `jot 30 20 160 2') 25164022SddsREGRESSION_TEST(`hhhd2', `jot 30 20 160 -') 26164022SddsREGRESSION_TEST(`hhdh2', `jot 30 20 - 2') 27164022SddsREGRESSION_TEST(`hhdd2', `jot 30 20 - -') 28164022SddsREGRESSION_TEST(`hdhh2', `jot 30 - 160 2') 29164022SddsREGRESSION_TEST(`hdhd2', `jot 30 - 160 -') 30164022SddsREGRESSION_TEST(`hddh2', `jot 30 - - 2') 31164022SddsREGRESSION_TEST(`hddd2', `jot 30 - - -') 32164022SddsREGRESSION_TEST(`dhhh2', `jot - 20 160 2') 33164022SddsREGRESSION_TEST(`dhhd2', `jot - 20 160 -') 34164022SddsREGRESSION_TEST(`ddhh2', `jot - - 160 2') 35208728SbrianREGRESSION_TEST(`rand1', `jot -r 10000 0 9 | sort -u') 36208728SbrianREGRESSION_TEST(`rand2', `jot -r 10000 9 0 | sort -u') 37164041SddsREGRESSION_TEST(`n21', `jot 21 -1 1.00') 38164041SddsREGRESSION_TEST(`ascii', `jot -c 128 0') 39164041SddsREGRESSION_TEST(`xaa', `jot -w xa%c 26 a') 40164041SddsREGRESSION_TEST(`yes', `jot -b yes 10') 41164041SddsREGRESSION_TEST(`ed', `jot -w %ds/old/new/ 30 2 - 5') 42164041SddsREGRESSION_TEST(`stutter', `jot - 9 0 -.5') 43208728SbrianREGRESSION_TEST(`stutter2', `jot -w %d - 9.5 0 -.5') 44164041SddsREGRESSION_TEST(`block', `jot -b x 512') 45164041SddsREGRESSION_TEST(`tabs', `jot -s, - 10 132 4') 46164041SddsREGRESSION_TEST(`grep', `jot -s "" -b . 80') 47164856SddsREGRESSION_TEST(`wf', `jot -w "a%.1fb" 10') 48164856SddsREGRESSION_TEST(`we', `jot -w "a%eb" 10') 49164856SddsREGRESSION_TEST(`wwe', `jot -w "a%-15eb" 10') 50164856SddsREGRESSION_TEST(`wg', `jot -w "a%20gb" 10') 51164856SddsREGRESSION_TEST(`wc', `jot -w "a%cb" 10 33 43') 52164856SddsREGRESSION_TEST(`wgd', `jot -w "a%gb" 10 .2') 53164856SddsREGRESSION_TEST(`wu', `jot -w "a%ub" 10') 54164856SddsREGRESSION_TEST(`wo', `jot -w "a%ob" 10') 55164856SddsREGRESSION_TEST(`wx', `jot -w "a%xb" 10') 56187332SedREGRESSION_TEST(`wX1', `jot -w "a%Xb" 10') 57164856SddsREGRESSION_TEST(`wXl', `jot -w "a%Xb" 10 2147483648') 58201426SobrienREGRESSION_TEST(`wdl', `jot -w "a%db" 10 2147483648 2>/dev/null') 59201426SobrienREGRESSION_TEST(`wxn', `jot -w "a%xb" 10 -5 2>/dev/null') 60164856SddsREGRESSION_TEST(`wdn', `jot -w "a%db" 10 -5') 61164856SddsREGRESSION_TEST(`wp1', `jot -w "%%%d%%%%" 10') 62164856SddsREGRESSION_TEST(`wp2', `jot -w "%d%%d%%" 10') 63164856SddsREGRESSION_TEST(`wp3', `jot -w "a%%A%%%d%%B%%b" 10') 64164856SddsREGRESSION_TEST(`wp4', `jot -w "%%d%d%%d%%" 10') 65164856SddsREGRESSION_TEST(`wp5', `jot -w ftp://www.example.com/pub/uploaded%%20files/disk%03d.iso 10') 66164856SddsREGRESSION_TEST(`wp6', `jot -w "%d%" 10') 6798759Sjmallett 6898759SjmallettREGRESSION_END() 69