lanraragi: Improve the test to test some user-facing functionality (#56016)
lanraragi: Improve the test to test some user-facing functionality (#56016)

- Previously, this was running the software's own test suite. This isn't
  the best experience for Homebrew, as we like our tests to test the
  functionality of the program as users see it.
- However, doing so wasn't very easy because it needs Redis to be
  running, and the `brew test` environment isn't very amenable to that
  (that I could work out immediately, anyway). This new test asserts the
  output when the user hasn't started Redis on their local machine.
lemzwerg/homebrew-core,jvillard/homebrew-core,adam-moss/homebrew-core,JCount/homebrew-core,rwhogg/homebrew-core,JCount/homebrew-core,sjackman/homebrew-core,chrisfinazzo/homebrew-core,jvillard/homebrew-core,mbcoguno/homebrew-core,filcab/homebrew-core,nbari/homebrew-core,cblecker/homebrew-core,jabenninghoff/homebrew-core,makigumo/homebrew-core,jvillard/homebrew-core,dsXLII/homebrew-core,spaam/homebrew-core,Moisan/homebrew-core,dsXLII/homebrew-core,sjackman/homebrew-core,lembacon/homebrew-core,lembacon/homebrew-core,makigumo/homebrew-core,zyedidia/homebrew-core,rwhogg/homebrew-core,nandub/homebrew-core,maxim-belkin/homebrew-core,lemzwerg/homebrew-core,uyjulian/homebrew-core,Linuxbrew/homebrew-core,zyedidia/homebrew-core,filcab/homebrew-core,mfikes/homebrew-core,chrisfinazzo/homebrew-core,mahori/homebrew-core,Homebrew/homebrew-core,Moisan/homebrew-core,uyjulian/homebrew-core,nbari/homebrew-core,nandub/homebrew-core,Linuxbrew/homebrew-core,maxim-belkin/homebrew-core,lembacon/homebrew-core,spaam/homebrew-core,stgraber/homebrew-core,Homebrew/homebrew-core,mfikes/homebrew-core,mbcoguno/homebrew-core,mbcoguno/homebrew-core,mahori/homebrew-core,cblecker/homebrew-core,adam-moss/homebrew-core,stgraber/homebrew-core,jabenninghoff/homebrew-core