Skip to content

Commit

Permalink
cram tests: use file tests if possible (#5557)
Browse files Browse the repository at this point in the history
Some tests use directory tests (`name.t/run.t`) when a plain file test
(`run.t`) would be enough. This renames them to simplify the directory
structure.

Code used:

    fix() {
        dir=$(dirname $1)
        git mv $dir $dir.tmp
        git mv $dir.tmp/run.t $dir
    }
    find test -type f -name run.t | while read -r f ; do
        [ $(ls -1q $(dirname $f)|wc -l) -eq 1 ] && fix $f ;
    done

Signed-off-by: Etienne Millon <me@emillon.org>
  • Loading branch information
emillon authored Apr 11, 2022
1 parent cff55b1 commit 55ff54a
Show file tree
Hide file tree
Showing 109 changed files with 0 additions and 0 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 55ff54a

Please sign in to comment.