12 Aug 2008 (Tue)

00:08:05 # Life Writing unit tests for shell scripts. Fed up with trial and error with 1-hour long testsuite of pbuilder, I've wrote some functional unit testing framework in bash, and added that to pbuilder. 'testlib.sh' is the framework, test_xxxx.sh scripts are the ones which actually run the tests. Anyone really need something like that? UPDATE: I've received info that TAP has resources on bash as well, and there was a link to Git.

23:07:50 # Life My laptop harddisk died. Or rather, it's dying. Making funny noise, and ext3 journal is failing to write. It's not good news.

sd 0:0:1:0: [sda] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK
sd 0:0:1:0: [sda] Sense Key : Medium Error [current] [descriptor]
Descriptor sense data with sense descriptors (in hex):
        72 03 11 04 00 00 00 0c 00 0a 80 00 00 00 00 00 
        05 77 c3 b3 
sd 0:0:1:0: [sda] Add. Sense: Unrecovered read error - auto reallocate failed
	
Junichi Uekawa

$Id: dancer-diary.el,v 1.92 2007/08/30 21:46:09 dancer Exp $