6 Commits

Author SHA1 Message Date
Omari Stephens
0cfeb25707 The triumphant return of the shell scripts, with bugreports, less code dup, and
enhanced readability.
2009-08-11 21:51:03 -07:00
Omari Stephens
864ed1a9d7 Wipe data on backend before a backup run
Append the date to 3.txt so that we can see if/when backup failures occurred
  solely from the device/server state
Note that these files will probably be deleted from the tree immediately, to
  be replaced by the ruby versions.
2009-08-06 15:36:34 -07:00
Omari Stephens
1f808c6f6e Make test_backup and test_restore usable again
- Add copyright headers
 - Allow the user to pass options (like '-s FOO') to adb
 - Restart device adb as root if needed
 - Make test_restore to infer a restore set
2009-08-03 20:23:55 -07:00
Joe Onorato
dc355a90a3 Add a test for SharedPreferencesBackupHelper
(which nobody had ever tested.  I like it when stuff
just works the first time).
2009-06-26 14:45:25 -04:00
Joe Onorato
aae628b445 Test that we correctly back up an empty file.
(It turns out that we do.  It didn't used to work, I'm not
sure what changed)
2009-06-26 12:57:45 -04:00
Joe Onorato
4a64bded06 Add some helpful tests scripts for backup and make bmgr restore wait until the backup is done. 2009-06-25 23:53:29 -04:00