add proper error handling for all final exec calls
[hband-tools.git] / tests / takeown / 01-singlefile.test
blobf60af75fdace656776129a3e18ec027b155660b4
1 setting
2 0644 root file1
3 0755 root nonwritable/
4 0644 root nonwritable/file2
5 end
7 action
8 ../../user-tools/takeown
9 file1
10 end
12 expections
13 owner SELF file1
14 exists no file1.tookown
15 end
17 action
18 ../../user-tools/takeown
19 nonwritable/file2
20 end
22 expections
23 owner root nonwritable/file2
24 status fail
25 end