diff --git a/ace/ace.py b/ace/ace.py index c7415bb1..a37f71f9 100755 --- a/ace/ace.py +++ b/ace/ace.py @@ -58,7 +58,6 @@ # We currently support : creat, mkdir, falloc, write, dwrite, link, unlink, remove, rename, fsetxattr, removexattr, truncate, mmapwrite, symlink, fsync, fdatasync, sync OperationSet = ['creat', 'mkdir', 'falloc', 'write', 'dwrite','mmapwrite', 'link', 'unlink', 'remove', 'rename', 'fsetxattr', 'removexattr', 'truncate', 'fdatasync'] - #The sequences we want to reach to, to reproduce known bugs. expected_sequence = [] expected_sync_sequence = [] @@ -86,6 +85,8 @@ def SiblingOf(file): return 'B' elif file == 'B': return 'A' + elif file == 'AC' : + return 'AC' elif file == 'test': return 'test' diff --git a/copy_diff.sh b/copy_diff.sh index 7b63ffb7..7e0010cb 100755 --- a/copy_diff.sh +++ b/copy_diff.sh @@ -24,7 +24,7 @@ then fi rm build/diff* else - if [ -e build/diff* ] + if [ -n "$(ls build | grep diff)" ] then rm build/diff* echo -e "${green}${bold} : Passed test${reset}"