Test that setup scripts are NOT visible in the test directory

Create a project with a helper script:

  $ cat > dune-project << EOF
  > (lang dune 3.21)
  > EOF

  $ cat > helpers.sh << 'EOF'
  > #!/bin/sh
  > test_helper() {
  >   echo "Helper called"
  > }
  > EOF

  $ cat > dune << EOF
  > (cram
  >  (setup_scripts helpers.sh))
  > EOF

  $ cat > visibility.t << 'EOF'
  > Test that the setup script is NOT visible in the test directory
  > 
  >   $ ls | sort
  >   visibility.t
  > 
  > Test that we can still call the helper function
  > 
  >   $ test_helper
  >   Helper called
  > EOF

Run the test:

  $ dune runtest
  File "visibility.t", line 1, characters 0-0:
  --- visibility.t
  +++ visibility.t.corrected
  @@ -1,7 +1,6 @@
   Test that the setup script is NOT visible in the test directory
   
     $ ls | sort
  -  visibility.t
   
   Test that we can still call the helper function
   
  [1]
