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