summaryrefslogtreecommitdiff
path: root/ubuntu/scripts/device-tree.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ubuntu/scripts/device-tree.sh')
-rwxr-xr-xubuntu/scripts/device-tree.sh14
1 files changed, 5 insertions, 9 deletions
diff --git a/ubuntu/scripts/device-tree.sh b/ubuntu/scripts/device-tree.sh
index f22ee5a..199d1c4 100755
--- a/ubuntu/scripts/device-tree.sh
+++ b/ubuntu/scripts/device-tree.sh
@@ -1,8 +1,8 @@
#!/bin/bash
#
-# Device Tree Enablement test cases
+# Device Tree test cases for Linux Linaro ubuntu
#
-# Copyright (C) 2012, Linaro Limited.
+# Copyright (C) 2012 - 2014, Linaro Limited.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -19,6 +19,7 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
# Author: Ricardo Salveti <rsalveti@linaro.org>
+# Maintainer Botao Sun <botao.sun@linaro.org>
#
source include/sh-test-lib
@@ -54,19 +55,14 @@ test_device_tree_model_not_empty() {
return 1
fi
- echo "MODEL: $model" 1>&2
+ echo "The model of the board is $model"
pass_test
}
-# check we're root
-if ! check_root; then
- error_msg "Please run the test case as root"
-fi
-
# run the tests
test_has_proc_device_tree
test_device_tree_model_not_empty
# clean exit so lava-test can trust the results
-exit 0
+exit 0 \ No newline at end of file