Commit e730ca1e authored by Ramon Nou's avatar Ramon Nou
Browse files

Merge branch '44-adding-tests' of ssh://bscssrg.bsc.es:2222/hpc/gekkofs into 44-adding-tests

parents 4be65878 dd7d57b2
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@ image: gekkofs/gekkofs:build_env
compile dependencies:
  stage: build deps
  cache:
    key: ${CI_COMMIT_REF_SLUG}
    key: deps-cache
    paths:
     - ${DEPS_INSTALL_PATH}/
  script:
@@ -52,7 +52,6 @@ compile GekkoFS:
      -Wdev
      -Wdeprecate
      -DCMAKE_BUILD_TYPE=Debug
      -DUSE_SHM:BOOL=OFF
      -DRPC_PROTOCOL="ofi+sockets"
      -DCMAKE_PREFIX_PATH=${DEPS_INSTALL_PATH}
      -DCMAKE_INSTALL_PREFIX=${INSTALL_PATH}
+6 −4
Original line number Diff line number Diff line
@@ -4,9 +4,11 @@ ROOT=${1}
echo Creating a file from a echo with content foo
echo "foo" > $ROOT/a.out

echo "Testing if file exists"

if [ -f $ROOT/a.out ]; then
     echo File exists
     echo is the content correct?
     echo "File exists"
     echo "Testing if the content is correct"
     if grep -Fxq "foo" $ROOT/a.out
     then
            echo "String found"
@@ -15,10 +17,10 @@ if [ -f $ROOT/a.out ]; then
            exit 1
     fi
else
     echo File does not exists
     echo "File does not exists"
     exit 1
fi

echo all test done
echo "all test done"

exit 0
 No newline at end of file