blob: b07330695cf4ef84ce88e773e5b1167cc706a711 [file] [log] [blame]
The Android Open Source Projectc24a8e62009-03-03 19:28:42 -08001assert hash_dir("SYS:") == "112345oldhashvalue1234123"
2mark SYS: dirty
3copy_dir "PKG:android-files" SYS:
4assert hash_dir("SYS:") == "667890newhashvalue6678909"
5mark SYS: clean
6done
7assert hash_dir("SYS:", "blah") == "112345oldhashvalue1234123"
8assert "true" == "false"
9assert matches(hash_dir("SYS:"), "667890newhashvalue6678909", "999999newhashvalue6678909") != ""
10assert hash_dir("SYS:") == "667890newhashvalue6678909" || hash_dir("SYS:") == "999999newhashvalue6678909"