diff options
author | Radek Podgorny <radek@podgorny.cz> | 2022-01-04 22:20:53 +0100 |
---|---|---|
committer | Radek Podgorny <radek@podgorny.cz> | 2022-01-04 22:20:53 +0100 |
commit | 7d6f6719878b6305561f4b881fcdfa908f6d7f29 (patch) | |
tree | f31b9af0c637bd8a884f5bb26e97900e4682a2d2 | |
parent | b6b5bec0843b213c235cb0300e317283c3015ddb (diff) | |
download | unionfs-fuse-git-7d6f6719878b6305561f4b881fcdfa908f6d7f29.tar.gz |
add commented out option of testing libfuse2 in ubuntu test
-rwxr-xr-x | test_vagrant_ubuntu.sh | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/test_vagrant_ubuntu.sh b/test_vagrant_ubuntu.sh index 401b762..b9f06be 100755 --- a/test_vagrant_ubuntu.sh +++ b/test_vagrant_ubuntu.sh @@ -1,9 +1,16 @@ #!/bin/sh set -e -x -rm -rf Vagrantfile + +PKGS="fuse3 libfuse3-dev" +CMAKE_CMD="cmake .." + +# uncomment this for libfuse2 +#PKGS="fuse libfuse-dev" +#CMAKE_CMD="cmake .. -DWITH_LIBFUSE3=FALSE" trap "vagrant destroy --force; rm -rf Vagrantfile" SIGINT SIGTERM ERR EXIT +rm -rf Vagrantfile #vagrant init ubuntu/hirsute64 vagrant init ubuntu/focal64 vagrant up @@ -14,7 +21,7 @@ set -e -x uname -a sudo apt-get update -y -sudo apt-get install -y gcc make pkg-config cmake fuse3 libfuse3-dev +sudo apt-get install -y gcc make pkg-config cmake ${PKGS} sudo apt-get install -y python3 python3-pip sudo pip install pytest @@ -29,7 +36,7 @@ cd /var/tmp/xxx rm -rf build mkdir build cd build -cmake .. +${CMAKE_CMD} make sudo modprobe fuse |