Lines Matching refs:output_dir

32 output_dir=$(mktemp -d)
39 rm -rf ${output_dir}
77 output_file=${output_dir}/test.apex
94 unzip ${output_file} apex_payload.img -d ${output_dir}
95 size=$(avbtool info_image --image ${output_dir}/apex_payload.img | awk '/Image size:/{print $3}')
99 mkdir ${output_dir}/mnt
101 sudo mount -o ro /dev/loop10 ${output_dir}/mnt
102 unzip ${output_file} apex_manifest.pb -d ${output_dir}
105 avbtool verify_image --image ${output_dir}/apex_payload.img \
109 sudo diff ${manifest_file} ${output_dir}/mnt/apex_manifest.pb
110 sudo diff ${manifest_file} ${output_dir}/apex_manifest.pb
111 sudo diff ${input_dir}/file1 ${output_dir}/mnt/file1
112 sudo diff ${input_dir}/file2 ${output_dir}/mnt/file2
113 sudo diff ${input_dir}/sub/file3 ${output_dir}/mnt/sub/file3
114 [ `sudo readlink ${output_dir}/mnt/sym1` = "file1" ]
117 [ `sudo stat -c '%u,%g,%A' ${output_dir}/mnt/file1` = "1001,1001,-rw-r--r--" ]
118 [ `sudo stat -c '%u,%g,%A' ${output_dir}/mnt/file2` = "1001,1001,-rw-r--r--" ]
119 [ `sudo stat -c '%u,%g,%A' ${output_dir}/mnt/sub` = "1002,1002,drw-r--r--" ]
120 [ `sudo stat -c '%u,%g,%A' ${output_dir}/mnt/sub/file3` = "1003,1003,-rw-r--r--" ]
121 [ `sudo stat -c '%u,%g,%A' ${output_dir}/mnt/sym1` = "1001,1001,lrw-r--r--" ]
122 [ `sudo stat -c '%u,%g,%A' ${output_dir}/mnt/apex_manifest.pb` = "1000,1000,-rw-r--r--" ]
125 [ `sudo ls -Z ${output_dir}/mnt/file1 | cut -d ' ' -f 1` = "u:object_r:root_file:s0" ]
126 [ `sudo ls -Z ${output_dir}/mnt/file2 | cut -d ' ' -f 1` = "u:object_r:root_file:s0" ]
127 [ `sudo ls -d -Z ${output_dir}/mnt/sub/ | cut -d ' ' -f 1` = "u:object_r:sub_file:s0" ]
128 [ `sudo ls -Z ${output_dir}/mnt/sub/file3 | cut -d ' ' -f 1` = "u:object_r:file3_file:s0" ]
129 [ `sudo ls -Z ${output_dir}/mnt/apex_manifest.pb | cut -d ' ' -f 1` = "u:object_r:root_file:s0" ]
130 [ `sudo ls -Z ${output_dir}/mnt/sym1 | cut -d ' ' -f 1` = "u:object_r:root_file:s0" ]