Re: [systemd-devel] [PATCH 12/12] Add mock fsck process

2015-01-29 Thread Didier Roche
Le 28/01/2015 17:13, Martin Pitt a écrit : Zbigniew Jędrzejewski-Szmek [2015-01-28 16:08 +0100]: +#!/bin/bash I think you can change this to /bin/sh, I don't see any bashisms. +declare -a maxpass=(30 5 2 30 60) I do :-) POSIX shell doesn't have arrays AFAIK, and declare -a definitively doesn

Re: [systemd-devel] [PATCH 12/12] Add mock fsck process

2015-01-28 Thread Martin Pitt
Zbigniew Jędrzejewski-Szmek [2015-01-28 16:08 +0100]: > > +#!/bin/bash > I think you can change this to /bin/sh, I don't see any bashisms. > > > +declare -a maxpass=(30 5 2 30 60) I do :-) POSIX shell doesn't have arrays AFAIK, and declare -a definitively doesn't work in e. g. dash. > > +for pas

Re: [systemd-devel] [PATCH 12/12] Add mock fsck process

2015-01-28 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Jan 28, 2015 at 02:25:17PM +0100, Didier Roche wrote: > > From aefe0667ed62d5d7e17193c0f5ae302ed57e4727 Mon Sep 17 00:00:00 2001 > From: Didier Roche > Date: Mon, 26 Jan 2015 17:46:36 +0100 > Subject: [PATCH 12/12] Add mock fsck process > > --- > test/mocks/fsck | 27 ++

[systemd-devel] [PATCH 12/12] Add mock fsck process

2015-01-28 Thread Didier Roche
>From aefe0667ed62d5d7e17193c0f5ae302ed57e4727 Mon Sep 17 00:00:00 2001 From: Didier Roche Date: Mon, 26 Jan 2015 17:46:36 +0100 Subject: [PATCH 12/12] Add mock fsck process --- test/mocks/fsck | 27 +++ 1 file changed, 27 insertions(+) create mode 100755 test/mocks/fs