Sha256: 88737751a594d61da2110c8261c089a5af0df53acb41ab945d4028b8dc8eb6f2

Contents?: true

Size: 642 Bytes

Versions: 3

Compression:

Stored size: 642 Bytes

Contents

#!/bin/bash

set -e

function test_output() {
  "$@"
  local status=$?
  if [ $status -ne 0 ]; then
    echo "Error with $1" >&2
  fi
  return $status
}

test_output ./line.rb
test_output diff -q /tmp/line.out ./expected/line.out
du -b /tmp/line.out | cut -f1
du -b ./expected/line.out | cut -f1

test_output ./lines.rb
test_output diff -q /tmp/lines.out ./expected/lines.out
du -b /tmp/lines.out | cut -f1
du -b ./expected/lines.out | cut -f1

test_output ./lines_alignment.rb
test_output diff -q /tmp/lines_alignment.out ./expected/lines_alignment.out
du -b /tmp/lines_alignment.out | cut -f1
du -b ./expected/lines_alignment.out | cut -f1

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
vedeu-0.8.2 examples/views/runner.sh
vedeu-0.8.1 examples/views/runner.sh
vedeu-0.8.0 examples/views/runner.sh