Lines Matching refs:testing
3 [ -f testing.sh ] && . testing.sh
14 testing "chattr [-/+]i FILE[write]" "$IN && echo "$_t" > testFile &&
17 testing "chattr [-/+]i FILE[re-write]" "$IN && echo "$_t" > testFile &&
21 testing "chattr [-/+]i FILE[append]" "$IN && echo "$_t" > testFile &&
24 testing "chattr [-/+]i FILE[move]" "$IN && echo "$_t" > testFile &&
27 testing "chattr [-/+]i FILE[delete]" "$IN && echo "$_t" > testFile &&
30 testing "chattr [-/+]i FILE[read]" "$IN && echo "$_t" > testFile &&
33 testing "chattr [-/+]a FILE[write]" "$IN && echo "$_t" > testFile &&
36 testing "chattr [-/+]a FILE[re-write]" "$IN && echo "$_t" > testFile &&
41 testing "chattr [-/+]a FILE[append]" "$IN && echo "$_t" > testFile &&
45 testing "chattr [-/+]a FILE[move]" "$IN && echo "$_t" > testFile &&
48 testing "chattr [-/+]a FILE[delete]" "$IN && echo "$_t" > testFile &&
51 testing "chattr [-/+]a FILE[read]" "$IN && echo "$_t" > testFile &&
57 testing "chattr [-/+]$attr FILE" "$IN && echo "$_t" > testFile &&
64 testing "chattr -$attr FILE" "$IN && echo "$_t" > testFile && chattr -$attr testFile &&
68 testing "chattr [-/+]AacDdijsStTu FILE" "$IN && echo "$_t" > testFile &&
71 testing "chattr [-/+]AacDdijsStTu(random) FILE" \
80 testing "chattr [-/+]AacDdijsStTu FILE*" "$IN &&
90 testing "chattr [-/+]AacDdijsStTu(random) FILE*" \
99 testing "chattr [-/+]i FILE[write]" \
104 testing "chattr [-/+]A FILE[write]" \
108 testing "chattr [-/+]s FILE[write]" \
112 testing "chattr -v version FILE[write]" \
119 testing "chattr -R [-/+]a FILE" "$IN && touch aa && chattr -R +A aa && lsattr aa &&
121 testing "chattr -R [-/+]a FILE.." "$IN && touch aa bb &&
136 testing "lsattr file" "lsattr file" "$_A file\n" "" ""
137 testing "lsattr file_path" "lsattr $_p/file" "$_A $_p/file\n" "" ""
138 testing "lsattr -R file" "lsattr -R file" "$_A file\n" "" ""
139 testing "lsattr -R file_path" "lsattr -R $_p/file" "$_A $_p/file\n" "" ""
140 testing "lsattr -a file" "lsattr -a file" "$_A file\n" "" ""
141 testing "lsattr -a file_path" "lsattr -a $_p/file" "$_A $_p/file\n" "" ""
142 testing "lsattr -d ." "lsattr -d ." "$_b .\n" "" ""
143 testing "lsattr -d dir_path" "lsattr -d $_p" "$_b $_p\n" "" ""
144 testing "lsattr -d file" "lsattr -d file" "$_A file\n" "" ""
145 testing "lsattr -d file_path" "lsattr -d $_p/file" "$_A $_p/file\n" "" ""
147 testing "lsattr -l file" "lsattr -l file" "file $sp_44 No_Atime\n" "" ""
149 testing "lsattr -v file" "chattr -v $_v * && lsattr -v file" \
151 testing "lsattr -v file_path" "chattr -v $_v * && lsattr -v $_p/file" \
153 testing "lsattr -Radlv file1 file2" "chattr -v $_v * &&