diff options
Diffstat (limited to '')
| -rwxr-xr-x | tests/df/skip-duplicates.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/df/skip-duplicates.sh b/tests/df/skip-duplicates.sh index f97f794f5..c839f4e19 100755 --- a/tests/df/skip-duplicates.sh +++ b/tests/df/skip-duplicates.sh @@ -38,7 +38,8 @@ grep '^#define HAVE_GETMNTENT 1' $CONFIG_HEADER > /dev/null \ || skip_ "getmntent is not used on this system" # Simulate an mtab file to test various cases. -cat > k.c <<EOF || framework_failure_ +# Replace gnulib streq as that is not available here. +sed 's/streq/0==str''cmp/' > k.c <<EOF || framework_failure_ #define _GNU_SOURCE #include <stdio.h> #include <stdlib.h> |
