/ scripts / test-maintain-all.sh
test-maintain-all.sh
 1  #!/usr/bin/env bash
 2  # test-maintain-all.sh
 3  #
 4  # This script tests the maintain-memory-bank.sh script with all options
 5  # but in a non-interactive way.
 6  
 7  # Run the analyze option
 8  echo "Testing --analyze option..."
 9  ./scripts/maintain-memory-bank.sh --analyze
10  
11  # Run the backup option
12  echo "Testing --backup option..."
13  ./scripts/maintain-memory-bank.sh --backup
14  
15  # Run the clean option
16  echo "Testing --clean option..."
17  ./scripts/maintain-memory-bank.sh --clean
18  
19  echo "All tests completed successfully!"