blob: 7ad1334c381d36e565488463e42547ecc05d1b81 [file] [log] [blame]
Denys Vlasenkoe8ee8622010-10-16 21:26:47 +02001#!/bin/sh
2
Denys Vlasenko3ad3aa62022-07-11 14:36:39 +02003. ./testing.sh
4
5# testing "test name" "cmd" "expected result" "file input" "stdin"
6>EMPTY
7testing "sha1sum: one-space separated input for -c" \
8 'echo "da39a3ee5e6b4b0d3255bfef95601890afd80709 EMPTY" | sha1sum -c' \
9 "EMPTY: OK\n" \
10 "" ""
11rm EMPTY
12
Denys Vlasenkoe8ee8622010-10-16 21:26:47 +020013. ./md5sum.tests sha1sum d41337e834377140ae7f98460d71d908598ef04f