date
echo "__Initial 10secs Begins"
sleep 10


i=1;
while true
do

echo "__EPS Module Smoke Test Begins: $i"
{ sleep 2; 
  echo 4; sleep 1; echo 11; sleep 1; echo 200; sleep 1

  sleep 1; echo 11; sleep 1; echo 201; sleep 1; echo 1; sleep 1;    
  sleep 1; echo 11; sleep 1; echo 201; sleep 1; echo 0; sleep 1;   
  sleep 1; echo 11; sleep 1; echo 202; sleep 1;
  sleep 1; echo 11; sleep 1; echo 203; sleep 1; echo 1; sleep 1;   
  sleep 1; echo 11; sleep 1; echo 203; sleep 1; echo 0; sleep 1;    
  sleep 1; echo 11; sleep 1; echo 204; sleep 1; echo 1; sleep 1; echo 1; sleep 1; echo 1; sleep 1; echo 1; sleep 1; echo 1; sleep 1; echo 1; sleep 1;   echo 1; sleep 1; echo 1; sleep 1; echo 1; sleep 1; echo 1; sleep 1; echo 1; sleep 1; #line continue  
  sleep 1; echo 11; sleep 1; echo 205; sleep 1;                    
  sleep 1; echo 11; sleep 1; echo 206; sleep 1; echo 0; sleep 1;
  sleep 1; echo 11; sleep 1; echo 206; sleep 1; echo 1; sleep 1;   
  sleep 1; echo 11; sleep 1; echo 206; sleep 1; echo 2; sleep 1;
  sleep 1; echo 11; sleep 1; echo 207; sleep 1;                    
  sleep 1; echo 11; sleep 1; echo 208; sleep 1;      
  sleep 1; echo 11; sleep 1; echo 209; sleep 1;                    
  sleep 1; echo 11; sleep 1; echo 211; sleep 1;
  sleep 1; echo 11; sleep 1; echo 212; sleep 1;                    
  sleep 1; echo 11; sleep 1; echo 213; sleep 1;  
  sleep 1; echo 11; sleep 1; echo 214; sleep 1;                     
  sleep 1; echo 11; sleep 1; echo 215; sleep 1;
  sleep 1; echo 11; sleep 1; echo 221; sleep 1; echo 0; sleep 1;   
  sleep 1; echo 11; sleep 1; echo 221; sleep 1; echo 1; sleep 1;
  sleep 1; echo 11; sleep 1; echo 221; sleep 1; echo 2; sleep 1;    
  sleep 1; echo 11; sleep 1; echo 221; sleep 1; echo 3; sleep 1;   
  sleep 1; echo 11; sleep 1; echo 222; sleep 1;
  sleep 1; echo 17;} | ./mfcc_sample_app
echo "__EPS Module Smoke Test Ends"


#echo "__SCH_TC Module Smoke Test Begins: $i"
#{ sleep 2; 
#  echo 4; sleep 1; echo 1; sleep 1; echo 548; sleep 1; echo 0; sleep 10;      
#  sleep 1; echo 1; sleep 1; echo 549; sleep 1; echo 1; sleep 1; echo 1; sleep 10;     
#  sleep 1; echo 17;} | ./mfcc_sample_app
#echo "__SCH_TC Module Smoke Test Ends"


#echo "__SRS4_SBAND_TC Module Smoke Test Begins: $i"
#{ sleep 2; 
#  echo 1; sleep 1; echo 2; sleep 1; echo 300; sleep 10;         
#  sleep 1; echo 2; sleep 1; echo 301; sleep 2;     
#  sleep 1; echo 2; sleep 1; echo 302; sleep 2;          
#  sleep 1; echo 2; sleep 1; echo 303; sleep 2;         
#  sleep 1; echo 2; sleep 1; echo 304; sleep 2;         
#  sleep 1; echo 2; sleep 1; echo 305; sleep 2; 
#  sleep 1; echo 2; sleep 1; echo 306; sleep 2;          
#  sleep 1; echo 2; sleep 1; echo 307; sleep 2;     
#  sleep 1; echo 2; sleep 1; echo 308; sleep 2;          
#  sleep 1; echo 2; sleep 1; echo 309; sleep 2;         
#  sleep 1; echo 2; sleep 1; echo 310; sleep 2;          
#  sleep 1; echo 2; sleep 1; echo 311; sleep 2; 
#  sleep 1; echo 2; sleep 1; echo 312; sleep 2;          
#  sleep 1; echo 2; sleep 1; echo 313; sleep 2;     
#  sleep 1; echo 2; sleep 1; echo 314; sleep 2;          
#  sleep 1; echo 2; sleep 1; echo 315; sleep 2;         
#  sleep 1; echo 2; sleep 1; echo 319; sleep 10;         
#  sleep 1; echo 2; sleep 1; echo 320; sleep 2; 
#  sleep 1; echo 2; sleep 1; echo 321; sleep 2;          
#  sleep 1; echo 2; sleep 1; echo 322; sleep 2;     
#  sleep 1; echo 2; sleep 1; echo 323; sleep 2;          
#  sleep 1; echo 2; sleep 1; echo 324; sleep 2;          
#  sleep 1; echo 2; sleep 1; echo 325; sleep 2;          
#  sleep 1; echo 2; sleep 1; echo 326; sleep 2; 
#  sleep 1; echo 2; sleep 1; echo 327; sleep 2;          
#  sleep 1; echo 2; sleep 1; echo 328; sleep 2;      
#  sleep 1; echo 2; sleep 1; echo 329; sleep 2;          
#  sleep 1; echo 2; sleep 1; echo 330; sleep 2;         
#  sleep 1; echo 2; sleep 1; echo 331; sleep 5;          
#  sleep 1; echo 2; sleep 1; echo 340; sleep 10;    
#  sleep 1; echo 2; sleep 1; echo 341; sleep 5;          
#  sleep 1; echo 2; sleep 1; echo 342; sleep 5;     
#  sleep 1; echo 2; sleep 1; echo 343; sleep 5;          
#  sleep 1; echo 2; sleep 1; echo 344; sleep 5; 
#  sleep 1; echo 2; sleep 1; echo 345; sleep 5;          
#  sleep 1; echo 2; sleep 1; echo 346; sleep 5;      
#  sleep 1; echo 2; sleep 1; echo 347; sleep 5;          
#  sleep 1; echo 2; sleep 1; echo 350; sleep 10;        
#  sleep 1; echo 2; sleep 1; echo 351; sleep 2;          
#  sleep 1; echo 2; sleep 1; echo 352; sleep 2; 
#  sleep 1; echo 2; sleep 1; echo 353; sleep 2;          
#  sleep 1; echo 2; sleep 1; echo 354; sleep 2;      
#  sleep 1; echo 2; sleep 1; echo 355; sleep 2;          
#  sleep 1; echo 2; sleep 1; echo 356; sleep 2;         
#  sleep 1; echo 2; sleep 1; echo 357; sleep 2;          
#  sleep 1; echo 2; sleep 1; echo 358; sleep 2; 
#  sleep 1; echo 2; sleep 1; echo 359; sleep 2;          
#  sleep 1; echo 2; sleep 1; echo 360; sleep 2;      
#  sleep 1; echo 2; sleep 1; echo 361; sleep 2;          
#  sleep 1; echo 2; sleep 1; echo 362; sleep 2;          
#  sleep 1; echo 2; sleep 1; echo 363; sleep 2;          
#  sleep 1; echo 2; sleep 1; echo 364; sleep 5; 
#  sleep 1; echo 2; sleep 1; echo 365; sleep 2;          
#  sleep 1; echo 2; sleep 1; echo 366; sleep 2;     
#  sleep 1; echo 2; sleep 1; echo 367; sleep 2;          
#  sleep 1; echo 2; sleep 1; echo 368; sleep 2;         
#  sleep 1; echo 2; sleep 1; echo 369; sleep 10;         
#  sleep 1; echo 2; sleep 1; echo 370; sleep 2; 
#  sleep 1; echo 2; sleep 1; echo 371; sleep 2;          
#  sleep 1; echo 2; sleep 1; echo 372; sleep 2;      
#  sleep 1; echo 2; sleep 1; echo 373; sleep 2;          
#  sleep 1; echo 2; sleep 1; echo 374; sleep 2;         
#  sleep 1; echo 2; sleep 1; echo 375; sleep 2;          
#  sleep 1; echo 2; sleep 1; echo 376; sleep 2; 
#  sleep 1; echo 2; sleep 1; echo 377; sleep 2;          
#  sleep 1; echo 2; sleep 1; echo 378; sleep 2;     
#  sleep 1; echo 2; sleep 1; echo 379; sleep 2;          
#  sleep 1; echo 2; sleep 1; echo 380; sleep 2;         
#  sleep 1; echo 2; sleep 1; echo 381; sleep 2;          
#  sleep 1; echo 2; sleep 1; echo 382; sleep 2; 
#  sleep 1; echo 2; sleep 1; echo 383; sleep 2;          
#  sleep 1; echo 2; sleep 1; echo 384; sleep 2;      
#  sleep 1; echo 2; sleep 1; echo 385; sleep 2;          
#  sleep 1; echo 2; sleep 1; echo 386; sleep 2;          
#  sleep 1; echo 2; sleep 1; echo 387; sleep 2;          
#  sleep 1; echo 2; sleep 1; echo 388; sleep 2; 
#  sleep 1; echo 2; sleep 1; echo 389; sleep 2;          
#  sleep 1; echo 2; sleep 1; echo 390; sleep 10;    
#  sleep 1; echo 2; sleep 1; echo 391; sleep 5;          
#  sleep 1; echo 2; sleep 1; echo 392; sleep 5;          
#  sleep 1; echo 2; sleep 1; echo 393; sleep 5;          
#  sleep 1; echo 2; sleep 1; echo 394; sleep 5; 
#  sleep 1; echo 2; sleep 1; echo 395; sleep 5;          
#  sleep 1; echo 2; sleep 1; echo 396; sleep 5;      
#  sleep 1; echo 2; sleep 1; echo 397; sleep 5;          
#  sleep 1; echo 2; sleep 1; echo 398; sleep 5;         
#  sleep 1; echo 2; sleep 1; echo 399; sleep 5;          
#  sleep 1; echo 2; sleep 1; echo 400; sleep 5; 
#  sleep 1; echo 2; sleep 1; echo 401; sleep 1; echo 1; sleep 1; echo 0; sleep 2;      
#  sleep 1; echo 2; sleep 1; echo 402; sleep 1; echo 1; sleep 1; echo 0; sleep 2;           
#  sleep 1; echo 2; sleep 1; echo 403; sleep 1; echo 1; sleep 2; 
#  sleep 1; echo 2; sleep 1; echo 404; sleep 1; echo 1; sleep 1; echo 0; sleep 2;      
#  sleep 1; echo 2; sleep 1; echo 405; sleep 1; echo 1; sleep 1; echo 0; sleep 2;          
#  sleep 1; echo 2; sleep 1; echo 406; sleep 1; echo 1; sleep 1; echo 0; sleep 2; 
#  sleep 1; echo 2; sleep 1; echo 407; sleep 1; echo 1; sleep 2;       
#  sleep 1; echo 2; sleep 1; echo 409; sleep 2;          
#  sleep 1; echo 2; sleep 1; echo 410; sleep 2;          
#  sleep 1; echo 2; sleep 1; echo 411; sleep 2;          
#  sleep 1; echo 2; sleep 1; echo 412; sleep 2; 
#  sleep 1; echo 17;} | ./mfcc_sample_app
#echo "__SRS4_SBAND_TC Module Smoke Test Ends"

#echo "__ADCS_TC Module smoke Test Begins: $i"
#{ sleep 2; 
#  echo 4; sleep 1; echo 5; sleep 1; echo 55; sleep 1;      
#  sleep 1; echo 5; sleep 1; echo 150; sleep 1;       
#  sleep 1; echo 6; sleep 1;         
#  sleep 1; echo 17;} | ./mfcc_sample_app
#echo "__ADCS_TC Modules smoke Test  Ends"

saran_num=$(shuf -i 60-60 -n1)
    echo "__After all sequence read iteration $i Sleep Duration is $ran_num"
    sleep $aran_num
    i=$((i+1))
done     
