X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=Robust%2Fsrc%2FBenchmarks%2FWebServer%2FWorkload%2Fbatch%2Fdifference.sh;fp=Robust%2Fsrc%2FBenchmarks%2FWebServer%2FWorkload%2Fbatch%2Fdifference.sh;h=0000000000000000000000000000000000000000;hb=cdcf09c40af1419fa42932aae249cb79b69b5daf;hp=2328bba18a969ee336da533d70f9cce4b4be24a9;hpb=2f2cbbbc9385b82d891fabf62ab7e0c5cf364658;p=IRC.git diff --git a/Robust/src/Benchmarks/WebServer/Workload/batch/difference.sh b/Robust/src/Benchmarks/WebServer/Workload/batch/difference.sh deleted file mode 100755 index 2328bba1..00000000 --- a/Robust/src/Benchmarks/WebServer/Workload/batch/difference.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/sh - -rm result_inventory -#For every trans_inventory* file remove the lines starting with pre and sort the file -for file in `ls trans_inventory*` -do - echo "Doing $file" - grep -v pre $file > ${file}.nopre - sort -n ${file}.nopre > runs/${file}.sorted -done - -\rm *.nopre -cd runs -let x=0; -#for every sorted file created above diff it with the orginial file called pure/trans_inventory.sorted and print the total success or failures occured -for file in `ls *sorted` -do - echo -n "Diffing $file..."; - diff $file ./pure/trans_inventory.sorted - if [ $? -ne 0 ] - then - let "x+=1"; - else - echo " success "; - fi -done - -echo "RESULT: x is $x"; -echo -n "RESULT: Total files compared is " -ls *sorted | wc -l - -cd ..