8d21951ff5c16af2a9d7f80188f49846acf55d92
[arvados.git] / build / package-testing / test-package-python27-python-arvados-fuse.sh
1 #!/bin/sh
2 # Copyright (C) The Arvados Authors. All rights reserved.
3 #
4 # SPDX-License-Identifier: AGPL-3.0
5
6 PYTHON=`ls /usr/share/python2.7/dist/python-arvados-fuse/bin/python2.7`
7
8 if [ "$PYTHON" != "" ]; then
9   set -e
10   exec $PYTHON <<EOF
11 import arvados_fuse
12 print "Successfully imported arvados_fuse"
13 EOF
14 else
15         exit 1
16 fi