Home | History | Annotate | Download | only in tests

Lines Matching refs:_t

12 _t="abcdefghijklmnopqrstuvwxyz"
14 testing "chattr [-/+]i FILE[write]" "$IN && echo "$_t" > testFile &&
15 chattr +i testFile && lsattr testFile && echo "$_t" > testFile;
17 testing "chattr [-/+]i FILE[re-write]" "$IN && echo "$_t" > testFile &&
18 chattr +i testFile && echo \"$_t\" > testFile || chattr -i testFile &&
19 echo \"$_t\" > testFile && lsattr testFile; rm -rf testFile; $OUT" \
21 testing "chattr [-/+]i FILE[append]" "$IN && echo "$_t" > testFile &&
22 chattr +i testFile && echo \"$_t\" >> testFile || lsattr 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 &&
32 chattr -i testFile; rm -rf testFile; $OUT" "$_t\n----i-------- testFile\n" "" ""
33 testing "chattr [-/+]a FILE[write]" "$IN && echo "$_t" > testFile &&
34 chattr +a testFile && echo $_t > testFile || lsattr testFile &&
36 testing "chattr [-/+]a FILE[re-write]" "$IN && echo "$_t" > testFile &&
37 chattr +a testFile && echo $_t > testFile || lsattr testFile &&
38 chattr -a testFile && echo $_t > testFile && cat testFile &&
40 $OUT" "-----a------- testFile\n$_t\n------------- testFile\n" "" ""
41 testing "chattr [-/+]a FILE[append]" "$IN && echo "$_t" > testFile &&
42 chattr +a testFile && echo $_t >> testFile && cat testFile &&
44 "$_t\n$_t\n-----a------- testFile\n" "" ""
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 &&
53 rm -rf testFile; $OUT" "$_t\n-----a------- testFile\n" "" ""
57 testing "chattr [-/+]$attr FILE" "$IN && echo "$_t" > testFile &&
59 lsattr testFile; rm -rf testFile; $OUT" "$_t\n------------- testFile\n" "" ""
64 testing "chattr -$attr FILE" "$IN && echo "$_t" > testFile && chattr -$attr testFile &&
65 cat testFile && lsattr testFile; rm -rf testFile; $OUT" "$_t\n------------- testFile\n" "" ""
68 testing "chattr [-/+]AacDdijsStTu FILE" "$IN && echo "$_t" > testFile &&
70 lsattr testFile; rm -rf testFile; $OUT" "$_t\n------------- testFile\n" "" ""
72 "$IN && echo "$_t" > testFile &&
79 "$_t\n------------- testFile\n" "" ""
81 echo "$_t" > testFile && echo "$_t" > testFile1 &&
82 echo "$_t" > testFile2 && echo "$_t" > testFile3 &&
83 echo "$_t" > testFile4 && echo "$_t" > testFile5 &&
84 echo "$_t" > testFile6 && echo "$_t" > testFile7 &&
85 echo "$_t" > testFile8 && echo "$_t" > testFile9 &&
86 echo "$_t" > testFile10 && echo "$_t" > testFile11 &&
89 "$_t\n------------- testFile\n------------- testFile1\n------------- testFile10\n------------- testFile11\n------------- testFile2\n------------- testFile3\n------------- testFile4\n------------- testFile5\n------------- testFile6\n------------- testFile7\n------------- testFile8\n------------- testFile9\n" "" ""
91 "$IN && echo "$_t" > testFile &&
98 "$_t\n------------- testFile\n" "" ""
100 "$IN && echo "$_t" > testFile &&
102 echo \"$_t\" > testFile || lsattr testFile && chattr -i testFile;
105 "$IN && echo "$_t" > testFile && chattr +A testFile &&
106 echo \"$_t\" > testFile && lsattr testFile && chattr -A testFile;
109 "$IN && echo "$_t" > testFile && chattr +s testFile &&
110 echo \"$_t\" > testFile && lsattr testFile && chattr -s testFile
113 "$IN && echo "$_t" > testFile &&
114 chattr -v 1234 testFile && echo \"$_t\" > testFile &&