Fix to parse script file while running aslr-test.
authorjin-gyu.kim <jin-gyu.kim@samsung.com>
Wed, 18 Oct 2017 00:50:26 +0000 (09:50 +0900)
committerjin-gyu.kim <jin-gyu.kim@samsung.com>
Fri, 30 Mar 2018 02:17:20 +0000 (11:17 +0900)
- This was applied by "https://review.tizen.org/gerrit/#/c/143944/" before.
- But, it was retrieved by mistake.

Change-Id: Iaf6a2b643b0559413ed56475eceefeebc02546f2

test/aslr_test/scripts/run_aslr_test_all_files.sh

index 031a4c9d645bea83c4c6b9f838dc45ecbb9b562a..14b0713d2934abc7837238bfa2b0a846cb1fc980 100644 (file)
@@ -32,9 +32,10 @@ fi
 
 /usr/bin/echo "Start aslr check test"
 
-/usr/bin/find / -type f -executable 2>/dev/null | /usr/bin/xargs $utl_path/file | /usr/bin/grep "executable" | /usr/bin/grep -v "shell script" | /usr/bin/cut -d ":" -f1 >> $log_file
+/usr/bin/find / -type f -executable 2>/dev/null | /usr/bin/xargs $utl_path/file | /usr/bin/grep "executable" | /usr/bin/grep -v "script" | /usr/bin/cut -d ":" -f1 >> $log_file
 
 # Retrieve exec permission (chmod & cat need to be considered separately to finish below lines)
+# Checking "/etc/smack/onlycap" is temporary. This should be considered again later.
 while read log_file_line
 do
        if [ -e "/etc/smack/onlycap" ] && [ $log_file_line != "/usr/bin/chmod" ] && [ $log_file_line != "/usr/bin/cat" ] && [ $log_file_line != "/usr/bin/qemu-arm" ]