~pitti/ubuntu-app-launch/upstart-dep

« back to all changes in this revision

Viewing changes to tests/exec-test-nullstr.sh

  • Committer: CI bot
  • Author(s): Ted Gould
  • Date: 2014-05-21 17:40:57 UTC
  • mfrom: (144.3.5 ld-library-path)
  • Revision ID: ps-jenkins@lists.canonical.com-20140521174057-bgrqbms9nqy4pb33
Set LD_LIBRARY_PATH to include the application directory 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash -e
 
2
 
 
3
if [ "$PATH" != "$APP_DIR/lib/64bit-amazing/bin:$APP_DIR" ] ; then
 
4
        echo "Bad PATH: $PATH"
 
5
        exit 1
 
6
fi
 
7
 
 
8
if [ "$LD_LIBRARY_PATH" != "$APP_DIR/lib/64bit-amazing:$APP_DIR/lib" ] ; then
 
9
        echo "Bad LD_LIBRARY_PATH: $LD_LIBRARY_PATH"
 
10
        exit 1
 
11
fi
 
12
 
 
13
if [ "$QML2_IMPORT_PATH" != "$APP_DIR/lib/64bit-amazing" ] ; then
 
14
        echo "Bad QML import path: $QML2_IMPORT_PATH"
 
15
        exit 1
 
16
fi
 
17
 
 
18
exit 0