Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7526497
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T03:50:52+00:00 2026-05-30T03:50:52+00:00

i have my RbcTest.php in the test/unit directory in the bash script the word

  • 0

i have my RbcTest.php in the test/unit directory
in the bash script the word “test” is it a keyword?
i use the vi editor and it the word is in yellow, as soon as i change the test to tests the whole path is purple??

 export WORKSPACE=phoenix
 export SYMFONY=$WORKSPACE/usr/share/php/data/symfony
 (cd $WORKSPACE
    echo ${PWD}
    echo "6. Clearing the cache"
    ./symfony cc
    echo "7. Run unit test"
    php test/unit/RbcTest.php 
 )

warning and error:

  7. Run unit test
  PHP Warning:  require_once(/usr/share/php/symfony/autoload/sfCoreAutoload.class.php): failed to open stream: No such file or directory in /var/lib/jenkins/workspace/b32b733b59ba6be9884da7427bee5c95/phoenix/config/ProjectConfiguration.class.php on line 3
  PHP Stack trace:
  PHP   1. {main}()   /var/lib/jenkins/workspace/b32b733b59ba6be9884da7427bee5c95/phoenix/test/unit/RbcTest.php:0
  PHP   2. require_once() /var/lib/jenkins/workspace/b32b733b59ba6be9884da7427bee5c95/phoenix/test/unit/RbcTest.php:3
  PHP   3. require_once() /var/lib/jenkins/workspace/b32b733b59ba6be9884da7427bee5c95/phoenix/test/bootstrap/unit.php:14
  PHP Fatal error:  require_once(): Failed opening required '/usr/share/php/symfony/autoload/sfCoreAutoload.class.php'    (include_path='.:/usr/share/php:/usr/share/pear') in   /var/lib/jenkins/workspace/b32b733b59ba6be9884da7427bee5c95/phoenix/config/ProjectConfiguration.class.php on line 3
  PHP Stack trace:
  PHP   1. {main}() /var/lib/jenkins/workspace/b32b733b59ba6be9884da7427bee5c95/phoenix/test/unit/RbcTest.php:0
  PHP   2. require_once() /var/lib/jenkins/workspace/b32b733b59ba6be9884da7427bee5c95/phoenix/test/unit/RbcTest.php:3
  PHP   3. require_once() /var/lib/jenkins/workspace/b32b733b59ba6be9884da7427bee5c95/phoenix/test/bootstrap/unit.php:14

thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T03:50:53+00:00Added an answer on May 30, 2026 at 3:50 am

    In Bash script test is indeed a keyword, although in this case vi is simply confused. You use test, for example, in if clauses:

    if test -f /etc/fstab; then
      echo "/etc/fstab exists"
    fi
    

    I never use this keywoard because you can also use [ instead, which I find prettier:

    if [ -f /etc/fstab ]; then
      echo "/etc/fstab exists"
    fi
    

    To avoid vi highlighting it as a keyword, use strings:

    php "test/unit/RbcTest.php"
    

    As to why you’re script is not working, it would help if you could clarify exactly what error you’re getting. Maybe you can try this:

    1. Mark your Bash script as an executable file: chmod +x script.sh
    2. Specify the interpreter by putting this right at the top of your script: #!/bin/bash
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Have just started using Visual Studio Professional's built-in unit testing features, which as I
Have a look at this url: http://www.trirand.com/jqgridwiki/doku.php?id=wiki:jquery_ui_methods#column_chooser I have got the Column Chooser dialog
Have a script to add / remove options from a select field -- the
Have anyone used Redmine Documentor which lets you convert PHP to HTML to Redmine
Have an app that can use tts to read text messages. It can also
Have an XML with next form: <categories someAttribute=test> <category id=1> <title></title> </category> <category id=1>
Have a nice day! How to use NPAPI plugin written on C++ in Windows
Have just started using Google Chrome , and noticed in parts of our site,
Have you ever seen any of there error messages? -- SQL Server 2000 Could
Have you guys had any experiences (positive or negative) by placing your source code/solution

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.