24 lines
632 B
Plaintext

$OpenBSD: patch-tests_sh,v 1.2 2020/11/08 20:37:14 bcallah Exp $
Tests require bash
touch -h is a GNU extension
Index: tests.sh
--- tests.sh.orig
+++ tests.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
############################################################################
# bfs #
@@ -831,7 +831,7 @@ function make_times() {
touch -t 199112140001 "$1/b"
touch -t 199112140002 "$1/c"
ln -s a "$1/l"
- touch -h -t 199112140003 "$1/l"
+ touch -t 199112140003 "$1/l"
touch -t 199112140004 "$1"
}
make_times "$TMP/times"