[#4315] LTP Fails on systems where /bin/sh is not bash

Document created by Aaronwu Employee on Aug 29, 2013
Version 1Show Document
  • View in full screen mode

[#4315] LTP Fails on systems where /bin/sh is not bash

Submitted By: Aravinda SH

Open Date

2008-08-07 02:11:39     Close Date

2008-09-25 02:08:14

Priority:

Medium     Assignee:

Nobody

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2008R1-RC8     Release:

Category:

Tests     Board:

N/A

Processor:

BF537     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

1.1.6     Toolchain version or rev.:

App binary format:

N/A     

Summary: LTP Fails on systems where /bin/sh is not bash

Details:

 

I am not able to run the kernel test. I followed the instruction at "http://docs.blackfin.uclinux.org/doku.php?id=testing_the_linux_kernel&s[]=ltp".

 

Downloaded the latest trunk.

 

When I configure board and test paths and run the run "run_kernel_test' I am getting following error message.

Testing on 192.168.110.204 with BF537-STAMP-STD (BF5xx) flat slab(p2) ICACHE(on) DCACHE(on) write_through dma

[: 38: ==: unexpected operator

rm: missing operand

Try `rm --help' for more information.

Here is the difference between lastrun and thisrun test results:

 

ls: cannot access build*kernel_log*: No such file or directory

grep: build*kernel_log*: No such file or directory

Empty file: /home/aravinda/Public/Blackfin/test_scripts/uclinux-dist/logs/lastrun/test_summary/build_kernel_fail_log .

No compare for build_kernel_fail_log .

Empty file: /home/aravinda/Public/Blackfin/test_scripts/uclinux-dist/logs/thisrun/test_summary/build_kernel_fail_log .

Empty file: /home/aravinda/Public/Blackfin/test_scripts/uclinux-dist/logs/lastrun/test_summary/fail_summary .

No compare for fail_summary .

Empty file: /home/aravinda/Public/Blackfin/test_scripts/uclinux-dist/logs/thisrun/test_summary/fail_summary .

Empty file: /home/aravinda/Public/Blackfin/test_scripts/uclinux-dist/logs/lastrun/test_summary/pass_summary .

No compare for pass_summary .

Empty file: /home/aravinda/Public/Blackfin/test_scripts/uclinux-dist/logs/thisrun/test_summary/pass_summary .

No difference in test results.

 

#########Test Summary #############

 

 

######The following build kernel fails:#######

 

 

############ Pass Num is: 0.#############

 

 

############ Fail Num is: 0.#############

 

 

#########Test Log #################

 

##### Testing is done with: BF537-STAMP-STD.

##### CPU: BF5xx.

##### REVISION: 0.0.

##### UCLINUX_DIST_PATH: /home/aravinda/Public/Blackfin/checkouts.

##### BINARY_FORMAT: flat.

##### ALLOCATOR: slab(p2).

##### ICACHE: on, DCACHE: on, POLICY is write_through.

##### UART_MODE: dma.

##### Test results are in folder: /home/aravinda/Public/Blackfin/test_scripts/uclinux-dist/logs/2008_Aug_07_12_41.

Testing on BF537-STAMP-STD (BF5xx) flat slab(p2) ICACHE(on) DCACHE(on) write_through dma

../kernel_test: 125: Syntax error: "(" unexpected

 

Thanks

 

Follow-ups

 

--- Mike Frysinger                                           2008-08-08 01:57:20

just change your /bin/sh to point to /bin/bash instead of /bin/dash

 

ive fixed the script in trunk to use bash rather than sh

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes