File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -17,21 +17,21 @@ jobs:
1717 run : |
1818 sudo apt-get update
1919 sudo apt-get install -y shellcheck
20- shellcheck tools/ flagsearch.sh
20+ shellcheck flagsearch.sh
2121
2222 - name : Basic functionality test
2323 run : |
24- chmod +x tools/ flagsearch.sh
24+ chmod +x flagsearch.sh
2525 # Create test directory and files
2626 mkdir -p test/
2727 echo "This is a test flag{test123}" > test/testfile.txt
2828 touch test/flag_file.txt
2929 # Test filename search
30- ./tools/ flagsearch.sh -f flag -i test/ | grep -q "Found file"
30+ ./flagsearch.sh -f flag -i test/ | grep -q "Found file"
3131 # Test content search
32- ./tools/ flagsearch.sh -f flag -i test/testfile.txt | grep -q "Found flag"
32+ ./flagsearch.sh -f flag -i test/testfile.txt | grep -q "Found flag"
3333 # Test deep search
34- ./tools/ flagsearch.sh -f flag -i test/ -d | grep -q "Found flag"
34+ ./flagsearch.sh -f flag -i test/ -d | grep -q "Found flag"
3535
3636 - name : Cleanup
3737 run : |
You can’t perform that action at this time.
0 commit comments