summaryrefslogtreecommitdiff
path: root/automated/android/boottime/device-script.sh
diff options
context:
space:
mode:
Diffstat (limited to 'automated/android/boottime/device-script.sh')
-rwxr-xr-xautomated/android/boottime/device-script.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/automated/android/boottime/device-script.sh b/automated/android/boottime/device-script.sh
index 0e33d5a..ce78a35 100755
--- a/automated/android/boottime/device-script.sh
+++ b/automated/android/boottime/device-script.sh
@@ -407,6 +407,9 @@ if [ "X${OPERATION}" = "XCOLLECT" ]; then
dmesg > "${dir_boottime_data}/dmesg_${COLLECT_NO}.log"
output_test_result "BOOTTIME_DMESG_COLLECT" "pass"
+ # make sure to write all files to disk
+ sync
+
echo "==============list of files under ${dir_boottime_data}/ starts from here:"
ls -l ${dir_boottime_data}/*
echo "==============list of files under ${dir_boottime_data}/ ends from here:"