Imported Upstream version 1.5.1
This commit is contained in:
18
tests/test_scripts/05_findgreptar.sh
Executable file
18
tests/test_scripts/05_findgreptar.sh
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
XTREEMFS_DIR="$1"
|
||||
TGZ_ARCHIVE="cpp.tgz"
|
||||
|
||||
MOUNT="$PWD"
|
||||
|
||||
cd "$XTREEMFS_DIR"
|
||||
tar czf "${MOUNT}/${TGZ_ARCHIVE}" "cpp" --exclude="build" --exclude="thirdparty"
|
||||
cd "$MOUNT"
|
||||
|
||||
tar zxf "$TGZ_ARCHIVE"
|
||||
|
||||
find . -name '*.cpp' >/dev/null
|
||||
|
||||
grep -R 'test' . >/dev/null
|
||||
Reference in New Issue
Block a user