JianyuWang0623 opened a new pull request, #14767:
URL: https://github.com/apache/nuttx/pull/14767

   ## Summary
   Enable `PIPES` to make nsh pipeline available.
   More details, please see https://github.com/apache/nuttx-apps/pull/2737 
   
   ## Impact
   CLI of sim:nsh
   
   ## Testing
   1. Selftest
   ```bash
   # Test 1 with `FS_HOSTFS`
   nsh> ls / | dd of=/data/test_pipeline
   sh [4:100]
   nsh> cat /data/test_pipeline
   /:
    bin/
    data/
    dev/
    etc/
    proc/
    tmp/
    var/
   nsh> ls /
   /:
    bin/
    data/
    dev/
    etc/
    proc/
    tmp/
    var/
   nsh>
   
   
   # Test 2 with CMDPARAMS
   ## Without https://github.com/apache/nuttx-apps/pull/2841 - bug
   nsh> echo $var | cat
   sh [4:100]
   
   nsh>
   ## With https://github.com/apache/nuttx-apps/pull/2841
   nsh> set var `uname`
   nsh> echo $var
   NuttX
   nsh> echo $var | cat
   sh [4:100]
   NuttX
   nsh>
   ```
   3. NuttX CI
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to