add more detail to the compare script; add level 4 and 5

This commit is contained in:
Joe Tretter
2020-09-04 14:52:20 -05:00
parent ebb7ebb4b5
commit 409d0117a2
79 changed files with 1387 additions and 2 deletions

View File

@@ -28,29 +28,39 @@ echo -n "STATUS - "
if [[ $(cmp -s "${tmpDir}/goalStatus.txt" "${tmpDir}/workStatus.txt";echo $?) == 0 ]]
then echo "OK"
else echo "FAIL"
diff -y --color=always *Status.txt
echo
fi
echo -n "INDEX-FILES - "
echo -n "INDEX/WORKDIR-FILES - "
if [[ $(cmp -s "${tmpDir}/goalStageFiles.txt" "${tmpDir}/workStageFiles.txt";echo $?) == 0 ]]
then echo "OK"
else echo "FAIL"
diff -y --color=always *StageFiles.txt
echo
fi
echo -n "PUSH-STATE - "
echo -n "PUSH/COMMMIT-STATE - "
if [[ $(cmp -s "${tmpDir}/goalPushState.txt" "${tmpDir}/workPushState.txt";echo $?) == 0 ]]
then echo "OK"
else echo "FAIL"
diff -y --color=always *PushState.txt
echo
fi
echo -n "BRANCH-SETUP - "
if [[ $(cmp -s "${tmpDir}/goalBranchSetup.txt" "${tmpDir}/workBranchSetup.txt";echo $?) == 0 ]]
then echo "OK"
else echo "FAIL"
diff -y --color=always *BranchSetup.txt
echo
fi
echo -n "REMOTES - "
if [[ $(cmp -s "${tmpDir}/goalRemotes.txt" "${tmpDir}/workRemotes.txt";echo $?) == 0 ]]
then echo "OK"
else echo "FAIL"
diff -y --color=always *Remotes.txt
echo
fi