Save File test: Restore permissions after test
authorJohn Darrington <john@darrington.wattle.id.au>
Tue, 2 Feb 2016 18:48:38 +0000 (19:48 +0100)
committerJohn Darrington <john@darrington.wattle.id.au>
Tue, 2 Feb 2016 19:48:05 +0000 (20:48 +0100)
This avoids annoyance when debugging.

tests/data/file.at

index 4479a48017643b2f8bc1002ef15f15bbfa4c262d..4efea3a2cfa94e00655aaa1d657e8f0d5a8358e6 100644 (file)
@@ -41,6 +41,8 @@ error: Creating temporary file to replace directory/foobar.sav: Permission denie
 error: Error opening `directory/foobar.sav' for writing as a system file: Permission denied.
 ])
 
+chmod 700 directory
+
 AT_CLEANUP