Skip to content

Commit f5c0100

Browse files
committed
Added minor timer script fix
Added minor fix to timer testcase to pdate the binary execution path and to print the complete output for easy debug Signed-off-by: Vamsee Narapareddi <[email protected]>
1 parent f52cb54 commit f5c0100

File tree

1 file changed

+3
-3
lines changed
  • Runner/suites/Kernel/Baseport/Timer

1 file changed

+3
-3
lines changed

Runner/suites/Kernel/Baseport/Timer/run.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,14 @@ log_info "----------------------------------------------------------------------
3939
log_info "-------------------Starting $TESTNAME Testcase----------------------------"
4040
log_info "=== Test Initialization ==="
4141

42-
chmod -R 777 /APT/timers
43-
4442
# Path to the binary
45-
BINARY_PATH="/var/common/bins/timers/posix_timers"
43+
BINARY_PATH="posix_timers"
4644

4745
# Run the binary and capture the output
4846
OUTPUT=$($BINARY_PATH)
4947

48+
echo $OUTPUT
49+
5050
# Check if "pass:7" is in the output
5151
if echo "${OUTPUT}" | grep "pass:7"; then
5252
log_pass "$TESTNAME : Test Passed"

0 commit comments

Comments
 (0)